From 89bc45e2d0f60f9defd3d7f2236148b1ec8eb9eb Mon Sep 17 00:00:00 2001 From: Gavin D'souza Date: Fri, 23 Apr 2021 12:22:17 +0530 Subject: [PATCH] ci: Run all builds on 3.7, 3.8, 3.9 * Drop CI testing for older versions: 2.7, 3.5, 3.6 --- .travis.yml | 49 ++++++++++++++++++++++--------------------------- 1 file changed, 22 insertions(+), 27 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8bc96c6e..67c7f56b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,35 +15,20 @@ addons: matrix: include: - - name: "Python 2.7 Basic Setup" - python: 2.7 - env: TEST=bench - script: python bench/tests/test_init.py TestBenchInit.basic - - - name: "Python 3.6 Basic Setup" - python: 3.6 - env: TEST=bench - script: python bench/tests/test_init.py TestBenchInit.basic - - name: "Python 3.7 Basic Setup" python: 3.7 env: TEST=bench script: python bench/tests/test_init.py TestBenchInit.basic - - name: "Python 3.8 Production Setup" + - name: "Python 3.8 Basic Setup" python: 3.8 env: TEST=bench - script: python bench/tests/test_setup_production.py TestSetupProduction.production + script: python bench/tests/test_init.py TestBenchInit.basic - - name: "Python 2.7 Production Setup" - python: 2.7 + - name: "Python 3.9 Basic Setup" + python: 3.9 env: TEST=bench - script: python bench/tests/test_setup_production.py TestSetupProduction.production - - - name: "Python 3.6 Production Setup" - python: 3.6 - env: TEST=bench - script: python bench/tests/test_setup_production.py TestSetupProduction.production + script: python bench/tests/test_init.py TestBenchInit.basic - name: "Python 3.7 Production Setup" python: 3.7 @@ -55,20 +40,25 @@ matrix: env: TEST=bench script: python bench/tests/test_setup_production.py TestSetupProduction.production - - name: "Python 2.7 Tests" - python: 2.7 + - name: "Python 3.9 Production Setup" + python: 3.9 env: TEST=bench - script: python -m unittest -v bench.tests.test_init + script: python bench/tests/test_setup_production.py TestSetupProduction.production - name: "Python 3.7 Tests" python: 3.7 env: TEST=bench script: python -m unittest -v bench.tests.test_init - - name: "Python 3.5 Easy Install" - python: 3.5 - env: TEST=easy_install - script: sudo python $TRAVIS_BUILD_DIR/install.py --user travis --run-travis --production --verbose + - name: "Python 3.8 Tests" + python: 3.8 + env: TEST=bench + script: python -m unittest -v bench.tests.test_init + + - name: "Python 3.9 Tests" + python: 3.9 + env: TEST=bench + script: python -m unittest -v bench.tests.test_init - name: "Python 3.7 Easy Install" python: 3.7 @@ -80,6 +70,11 @@ matrix: env: TEST=easy_install script: sudo python $TRAVIS_BUILD_DIR/install.py --user travis --run-travis --production --verbose + - name: "Python 3.9 Easy Install" + python: 3.9 + env: TEST=easy_install + script: sudo python $TRAVIS_BUILD_DIR/install.py --user travis --run-travis --production --verbose + install: - pip install urllib3 pyOpenSSL ndg-httpsclient pyasn1