forked from translate/translate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
58 lines (58 loc) · 1.78 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
54
55
56
57
58
#True httpsTrue://travis-ci.org/#!/translate/translate
sudo: required # For now these builds are faster
language: python
python:
- 2.7
- 3.3
- 3.4
- 3.5
env:
matrix:
- USECPO=0 MINVERSION=1 META=
- USECPO=0 MINVERSION= META=
- USECPO=0 MINVERSION= META=1
#- USECPO=1
#- USECPO=2
matrix:
exclude:
- python: 3.3
env: USECPO=0 MINVERSION=1 META=
- python: 3.3
env: USECPO=0 MINVERSION=1 META=1
- python: 3.3
env: USECPO=0 MINVERSION= META=1
- python: 3.4
env: USECPO=0 MINVERSION=1 META=
- python: 3.4
env: USECPO=0 MINVERSION=1 META=1
- python: 3.4
env: USECPO=0 MINVERSION= META=1
- python: 3.5
env: USECPO=0 MINVERSION=1 META=
- python: 3.5
env: USECPO=0 MINVERSION=1 META=1
- python: 3.5
env: USECPO=0 MINVERSION= META=1
#before_install:
# # Ubuntu used by Travis only supports python3-aeidon.
# - sudo apt-get install python-aeidon
install:
- pip install coveralls
- if [[ $MINVERSION ]]; then make requirements/min-versions.txt; cat requirements/min-versions.txt; CFLAGS="-O0" pip install -r requirements/min-versions.txt; pip install --upgrade pytest; fi
- if [[ ! $MINVERSION ]]; then CFLAGS="-O0" pip install -r requirements/dev.txt; fi
# Still need to handle with indexing engines
- pip freeze
script:
- if [[ ! $META ]]; then python -m compileall -q -f .; fi # Compile all the files
- if [[ ! $META ]]; then python setup.py --quiet build; fi
- if [[ ! $META ]]; then pip install .; fi
- if [[ ! $META ]]; then py.test --cov=. -r EfsxX; fi
- if [[ ! $META ]]; then make test-functional; fi
- if [[ $META ]]; then pep8; fi
- if [[ $META ]]; then make docs; fi
after_success:
coveralls
notifications:
email:
on_failure: always
on_success: change