-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy path.travis.yml
45 lines (37 loc) · 988 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
44
45
dist: xenial
language: python
matrix:
include:
- python: "3.8"
- python: "3.7"
- python: "3.6"
- python: "3.5"
install:
- pip install -r requirements.txt
- pip install -r test_requirements.txt
- pip install --upgrade pycodestyle pylint
- pip install coveralls
cache:
directories:
- $HOME/virtualenv
script:
- pycodestyle .
- pylint aloe aloe_sphinx tests
- coverage erase
- coverage run -m nose
- coverage report
- ./tools/check_installs
- make -C docs coverage
after_success:
- coveralls
sudo: false
deploy:
provider: pypi
user: koterpillar
password:
secure: "PVNJN8mqJTiJhvSXDC0oi8GZwOySl8o8tAzrsiqk4uNkRwBAciHnUGSnAtt92SBC4eQmrxsnjhxCdfXOVA+SxaVoUBEnIu233EE0/k+ylueiv3VI305iBZWG2Vf0ioISCm2Mxc3Ec9ujwbwFQWXFxUHydNG9PZRjbupVF7Bnn0c="
on:
tags: true
all_branches: true
python: 3.8
condition: "\"$TRAVIS_TAG\" = \"v$(python setup.py --version)\""