forked from pyexcel/pyexcel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (52 loc) · 1.31 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
51
52
53
sudo: false
language: python
notifications:
email: false
python:
- pypy
- 2.6
- 2.7
- 3.3
- 3.4
- 3.5
matrix:
include:
- python: 2.7
env: MINREQ=1
- python: 2.7
dist: trusty
sudo: required
virtualenv:
system_site_packages: true
addons:
apt:
sources:
- debian-sid # lxml 3.6.0
packages:
- python-texttable
- python-requests
- python-sqlalchemy
- python-xlwt
- python-xlrd
- python-lxml
- python-openpyxl
- python-flask
- python-coverage
- python-nose
- python-mock
- python-wheel
- python-six
before_install:
- if [[ $TRAVIS_PYTHON_VERSION == "pypy" ]]; then rm tests/test_examples.py; 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
- pip install --upgrade setuptools "pip==7.1"
- 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