-
-
Notifications
You must be signed in to change notification settings - Fork 214
/
.travis.yml
43 lines (35 loc) · 964 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
38
39
40
41
42
43
language: python
sudo: false
services:
- xvfb
python:
#- "2.7"
#- "3.4"
- "3.5"
- "3.6"
cache:
directories:
- test_tmp
install:
- ./run_tests.sh -s --setup-only -v "$TRAVIS_PYTHON_VERSION"
before_script:
# Ensure tags are available on the cloned repository
- git fetch --tags --depth=50
# Start xvfb
# - "export DISPLAY=:99.0"
# - "sh -e /etc/init.d/xvfb start"
# - sleep 3
script:
- ./run_tests.sh --test-only -sv "$TRAVIS_PYTHON_VERSION"
# - if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then ./run_tests.sh --qt4 -sv "$TRAVIS_PYTHON_VERSION" ; fi
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then ./run_tests.sh -sv "$TRAVIS_PYTHON_VERSION" ; fi
#- coverage run -m ete3.test.test_api
#- coverage run -a -m ete3.test.test_ete_evol # too heavy for travis
#- coverage run -a -m ete3.test.test_ete_build # too heavy for travis
after_success:
- coveralls
# branches:
# only:
# - master
# - "3.0"
# - "2.3"