-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
43 lines (40 loc) · 908 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
language: python
dist: xenial
sudo: true
os:
- linux
install: "make"
services:
- docker
cache: pip
jobs:
include:
- stage: publish
python: '3.7'
script:
- poetry install
- pydocmd build
deploy:
- provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
keep-history: true
local-dir: _build/site
target-branch: gh-pages
on:
branch: master
- provider: pypi
user: $PYPI_USER
password: $PYPI_PASSWORD
distributions: "sdist bdist_wheel"
skip_existing: true
skip_cleanup: true
on:
tags: true
- provider: releases
api_key: $GITHUB_TOKEN
file:
- "dist/cloudendure-*-py3-none-any.whl"
- "dist/cloudendure-*.tar.gz"
on:
tags: true