-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
50 lines (48 loc) · 1.15 KB
/
.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
46
47
48
49
50
sudo: false
language: python
notifications:
email: false
python:
- pypy-5.3.1
- 3.6
- 3.5
- 3.4
- 3.3
- 2.7
- 2.6
matrix:
include:
- python: 2.7
env: MINREQ=1
- python: 2.7
env: TABULATE_VERSION=dev
- python: 2.7
dist: trusty
sudo: required
virtualenv:
system_site_packages: true
addons:
apt:
sources:
- debian-sid
packages:
- python-tabulate
- python-texttable
- python-requests
- python-coverage
before_install:
- if [[ "$TABULATE_VERSION" = "dev" ]]; then
pip install git+https://bitbucket.org/astanin/python-tabulate ;
echo > README.rst ;
fi
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install flake8==2.6.2; fi
- if [[ -f min_requirements.txt && "$MINREQ" -eq 1 ]]; then
mv min_requirements.txt requirements.txt ;
fi
- test ! -f rnd_requirements.txt || pip install --no-deps -r rnd_requirements.txt
- test ! -f rnd_requirements.txt || pip install -r rnd_requirements.txt ;
- pip install -r tests/requirements.txt
script:
- make test
after_success:
codecov