commit 12705c2f38dbca589818544dc73fe6206b1bb968 parent 7deb23901176ff2ffe0e20438dfe584758938c01 Author: Sheng <webmaster0115@gmail.com> Date: Thu, 6 Jun 2019 22:27:50 +0800 Updated .travis.yml Diffstat:
M | .travis.yml | | | 22 | +++++++++------------- |
1 file changed, 9 insertions(+), 13 deletions(-)
diff --git a/.travis.yml b/.travis.yml @@ -1,20 +1,16 @@ -dist: trusty -sudo: false - +dist: xenial language: python -matrix: - include: - - python: 2.7 - - python: 3.4 - - python: 3.5 - - python: 3.6 - - python: 3.7 - dist: xenial - sudo: true + +python: + - "2.7" + - "3.4" + - "3.5" + - "3.6" + - "3.7" install: - pip install -r requirements.txt - - pip install pytest==3.8.0 pytest-cov==2.6.0 codecov flake8 + - pip install pytest pytest-cov codecov flake8 - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install mock; fi script: