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"
9+ - " 3.5"
10+ # Python 3.6 is set to test and deploy the docs in the configuration matrix
11+ # - "3.6"
1712 - " pypy"
1813 - " pypy3"
14+ env :
15+ - TEST_DOCS=true
1916matrix :
2017 include :
21- # Tests docs
22- - python : " 2.7"
23- env : TEST_DOCS=true
2418 # Tests and deploys docs, also runs coverage report
25- - python : " 3.5 "
26- env : COVERAGE=true TEST_DOCS=true DEPLOY_DOCS=true
19+ - python : " 3.6 "
20+ env : TEST_DOCS=true DEPLOY_DOCS=true
2721addons :
2822 apt :
2923 packages :
@@ -36,7 +30,6 @@ before_install:
3630 - chmod -R +x ~/.scripts/*
3731 # Prepares CI environment
3832 - source ~/.scripts/travis/load-travis-environment.sh
39- - source ~/.scripts/travis/load-travis-environment-python.sh
4033install :
4134 # tox is required for the tests
4235 - pip install tox
@@ -45,14 +38,8 @@ install:
4538 # Dependencies
4639 - pip install --upgrade -r requirements.txt
4740script :
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
5241 # Documentation tests are run
5342 - ~/.scripts/python/run_tests.sh $DO_TEST_DOCS docs
54- # Documentation tests are run
55- - ~/.scripts/python/run_tests.sh $DO_COVERAGE coverage
5643after_success :
5744 # Documentation deployment
5845 - ~/.scripts/sphinx/build-html.sh $DO_DEPLOY_DOCS docs
0 commit comments