From 338a532e07357c93fe9972dcca60e197f94ec20b Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Thu, 31 Oct 2019 14:20:46 -0500 Subject: Travis CI: Test Python 3.8 (#13347) * Travis CI: Test Python 3.8 * Fix use of deprecated cgi.escape method * Fix version comparison * Fix flake8 F811 change in Python 3.8 * Make flake8 happy * Use Python 3.8 for all test categories --- .travis.yml | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index a79a5126b1..f8f0778cae 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,12 +18,12 @@ jobs: fast_finish: true include: - stage: 'style checks' - python: '3.7' + python: '3.8' os: linux language: python env: TEST_SUITE=flake8 # Shell integration with module files - - python: '3.7' + - python: '3.8' os: linux language: python env: [ TEST_SUITE=bootstrap ] @@ -46,10 +46,14 @@ jobs: language: python env: TEST_SUITE=unit - python: '3.7' + os: linux + language: python + env: TEST_SUITE=unit + - python: '3.8' os: linux language: python env: [ TEST_SUITE=unit, COVERAGE=true ] - - python: '3.7' + - python: '3.8' os: linux language: python env: TEST_SUITE=doc @@ -64,41 +68,41 @@ jobs: language: python env: [ TEST_SUITE=build, 'SPEC=mpich' ] # astyle (MakefilePackage) - - python: '3.7' + - python: '3.8' os: linux language: python env: [ TEST_SUITE=build, 'SPEC=astyle' ] # tut (WafPackage) - - python: '3.7' + - python: '3.8' os: linux language: python env: [ TEST_SUITE=build, 'SPEC=tut' ] # py-setuptools (PythonPackage) - - python: '3.7' + - python: '3.8' os: linux language: python env: [ TEST_SUITE=build, 'SPEC=py-setuptools' ] # perl-dbi (PerlPackage) -# - python: '2.7' +# - python: '3.8' # os: linux # language: python # env: [ TEST_SUITE=build, 'SPEC=perl-dbi' ] # openjpeg (CMakePackage + external cmake) - - python: '3.7' + - python: '3.8' os: linux language: python env: [ TEST_SUITE=build, 'SPEC=openjpeg' ] # r-rcpp (RPackage + external R) - - python: '3.7' + - python: '3.8' os: linux language: python env: [ TEST_SUITE=build, 'SPEC=r-rcpp' ] # mpich (AutotoolsPackage) - - python: '3.7' + - python: '3.8' os: linux language: python env: [ TEST_SUITE=build, 'SPEC=mpich' ] - - python: '3.6' + - python: '3.8' stage: 'docker build' os: linux language: python -- cgit v1.2.3-60-g2f50