From 12705c2f38dbca589818544dc73fe6206b1bb968 Mon Sep 17 00:00:00 2001 From: Sheng Date: Thu, 6 Jun 2019 22:27:50 +0800 Subject: [PATCH] Updated .travis.yml --- .travis.yml | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index df2f69a..7fb256c 100644 --- 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: