tune10 travis
language: python
-dist: xenial
+dist: bionic
matrix:
include:
- python: 2.7.17
@@ -23,10 +23,10 @@ before_script:
script:
- python -m pycodestyle moler
- - if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then python -m pytest test; fi
- - if [[ $TRAVIS_PYTHON_VERSION == *"3."* ]]; then python -m pytest --mccabe moler; fi
- - if [[ $TRAVIS_PYTHON_VERSION == 3.8.1 ]]; then python -m pytest -c py3pytest.ini --random --mccabe; fi
- - if [[ $TRAVIS_PYTHON_VERSION == *"3."* ]]; then coverage run -m pytest -c py3pytest.ini --random; fi
+ - if [[ $TRAVIS_PYTHON_VERSION == 2.7.17 ]]; then python -m pytest test; fi
+ - if [[ $TRAVIS_PYTHON_VERSION == 3.6.10 ]]; then python -m pytest -c py3pytest.ini --random --mccabe; fi
+ - if [[ $TRAVIS_PYTHON_VERSION == 3.7.1 ]]; then coverage run -m pytest -c py3pytest.ini --random --mccabe; fi
+ - if [[ $TRAVIS_PYTHON_VERSION == 3.8.1 ]]; then python -m pytest --mccabe moler; fi
after_success:
- if [[ $TRAVIS_PYTHON_VERSION == 3.7.1 ]]; then coveralls; fi
