forked from translate/translate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (37 loc) · 979 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
# https://travis-ci.org/#!/translate/translate
language: python
python:
- 2.6
- 2.7
env:
matrix:
- USECPO=0 MINVERSION=1
- USECPO=0 MINVERSION=
#- USECPO=1
#- USECPO=2
matrix:
exclude:
- python: 2.6
env: USECPO=0 MINVERSION=1
before_install:
- sudo apt-get install python-aeidon
install:
- pip install coveralls
- if [[ $MINVERSION ]]; then make requirements/min-versions.txt; cat requirements/min-versions.txt; pip install -r requirements/min-versions.txt; pip install --upgrade pytest; fi
- if [[ ! $MINVERSION ]]; then pip install -r requirements/dev.txt; fi
# Still need to handle with indexing engines
- pip freeze
script:
- python -m compileall -q -f . # Compile all the files
- python setup.py --quiet build
- py.test --cov=. -r EfsxX
- pip install .
- make test-functional
- ./tools/pep8.sh travis
- make docs
after_success:
coveralls
notifications:
email:
on_failure: always
on_success: change