44# Using Python for the project
55language : python
66python :
7- # Python 2.6 is obsolete
8- # - "2.6"
9- # Python 2.7 is set to test the docs in the configuration matrix
10- # - "2.7"
11- # Python 3.2 is obsolete
12- # - "3.2"
13- - " 3.3"
7+ - " 2.7"
148 - " 3.4"
15- # Python 3.5 is set to test and deploy the docs, and to run the coverage report, in the configuration matrix
16- # - "3.5"
17- - " pypy"
18- - " pypy3"
9+ - " 3.5"
10+ # Python 3.6 is set to test and deploy the docs in the configuration matrix
11+ # - "3.6"
12+ # PyPy currently is not working with the required dependencies
13+ # - "pypy"
14+ # - "pypy3"
15+ env :
16+ - TEST_DOCS=true
1917matrix :
2018 include :
21- # Tests docs
22- - python : " 2.7"
23- env : TEST_DOCS=true
2419 # Tests and deploys docs, also runs coverage report
25- - python : " 3.5 "
26- env : COVERAGE=true TEST_DOCS=true DEPLOY_DOCS=true
20+ - python : " 3.6 "
21+ env : TEST_DOCS=true DEPLOY_DOCS=true
2722addons :
2823 apt :
2924 packages :
@@ -36,7 +31,6 @@ before_install:
3631 - chmod -R +x ~/.scripts/*
3732 # Prepares CI environment
3833 - source ~/.scripts/travis/load-travis-environment.sh
39- - source ~/.scripts/travis/load-travis-environment-python.sh
4034install :
4135 # tox is required for the tests
4236 - pip install tox
@@ -45,14 +39,8 @@ install:
4539 # Dependencies
4640 - pip install --upgrade -r requirements.txt
4741script :
48- # Code is checked
49- - ~/.scripts/python/run_tests.sh true check
50- # Tests are run
51- - ~/.scripts/python/run_tests.sh true $PYTHON_VERSION_TEST
5242 # Documentation tests are run
5343 - ~/.scripts/python/run_tests.sh $DO_TEST_DOCS docs
54- # Documentation tests are run
55- - ~/.scripts/python/run_tests.sh $DO_COVERAGE coverage
5644after_success :
5745 # Documentation deployment
5846 - ~/.scripts/sphinx/build-html.sh $DO_DEPLOY_DOCS docs
0 commit comments