-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (34 loc) · 842 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
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
install:
- pip install coverage
- pip install coveralls
- pip install future
- pip install mock
- pip install configparser
- pip install pytest
- pip install sphinx
script:
- git fetch
- python -m pytest
- python setup.py sdist --verbose
- cd dist
- pip install -vvv prmpt*.tar.gz
- pip uninstall -y prmpt
- cd ..
- rm -f bin/prmptc
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then python -m coverage.__main__ run --source=prmpt,test,bin/prmpt -m pytest; fi
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then python -m coverage.__main__ report; fi
after_success:
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then coveralls; fi
branches:
only:
- master
- develop
- feature/.*