forked from aloetesting/aloe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (34 loc) · 906 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
language: python
python:
- "2.7"
- "3.4"
- "3.5"
install:
- pip install -r requirements.txt
- pip install -r test_requirements.txt
- pip install coveralls
cache:
directories:
- $HOME/virtualenv
script:
- pep8 .
- 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: "ngmlqV8hod71n7GudGTaW9Re1DXJZvA2XaFOW4FqRbJydkPWdXbZw1FoPiZM8UFQCgWc9D1MuGzs17+cVobe3YWOSW7OG5G7oJBMuLlJ+zDExHb4UusYDi2ADBK2R46ukd1A002sb4ns7X3SC2w1v1oMEp3HIKFGvRVVUf+PfK0="
server: https://pypi.python.org/pypi
on:
tags: true
all_branches: true
python: 3.5
condition: "\"$TRAVIS_TAG\" = \"v$(python setup.py --version)\""