Skip to content

Commit 0a2570d

Browse files
authored
Create .travis.yml
1 parent 29fe874 commit 0a2570d

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

.travis.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
language: python
2+
cache: pip
3+
python:
4+
- '3.4'
5+
- '3.5'
6+
- '3.6.3' # explicit branch used for deploying
7+
branches:
8+
only:
9+
- master
10+
- /^v[0-9]/
11+
before_install:
12+
- pip install virtualenv==20.0.1
13+
- pip install tox-travis
14+
script:
15+
- tox
16+
- pip install -e .
17+
before_deploy:
18+
- pip install -e .
19+
- make docs
20+
deploy:
21+
- provider: pypi
22+
user: $PYPI_USERNAME
23+
api_key: $PYPI_PASSWORD
24+
skip-cleanup: true
25+
on:
26+
tags: true
27+
python: '3.6.3'
28+
distributions: "sdist bdist_wheel"
29+
- provider: pages
30+
local-dir: _docs
31+
github-token: $GITHUB_TOKEN
32+
skip-cleanup: true
33+
on:
34+
branch: master
35+
python: '3.6.3'

0 commit comments

Comments
 (0)