forked from instrumentkit/InstrumentKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (37 loc) · 935 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
sudo: false
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
install:
- "pip install -r requirements.txt"
- "pip install -r dev-requirements.txt"
- pip install python-coveralls
- pip install coverage
- pip install pytest-cov
before_script:
# We use before_script to report version and path information in a way
# that can be easily hidden by Travis' log folding. Moreover, a nonzero
# exit code from this block kills the entire job, meaning that if we can't
# even sensibly get version information, we correctly abort.
- which python
- python --version
- which pytest
- pytest --version
- which pylint
- pylint --version
script:
- pytest --cov=instruments
- pylint --py3k instruments
- pylint --disable=I instruments
after_success:
- coveralls
deploy:
provider: pypi
user: ${PYPI_USERNAME}
password: ${PYPI_PASSWORD}
distributions: "sdist bdist_wheel"
on:
tags: true