From a38a4363c10b5f41e14f0a86f30306ef2b23e497 Mon Sep 17 00:00:00 2001 From: Jason Palmer Date: Wed, 16 Jan 2019 09:58:44 -0700 Subject: [PATCH] Only do coverage checks on one Python version --- .travis.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1d98cbd..159bf53 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,16 @@ dist: xenial language: python -python: - - "3.7" - - "3.6" - - "3.5" - - "3.4" - - "2.7" -env: - - CPPFLAGS=--coverage +matrix: + include: + - python: "3.7" + env: CPPFLAGS=--coverage + before_script: pip install cpp-coveralls + after_success: coveralls --build-root . + - python: "3.6" + - python: "3.5" + - python: "3.4" + - python: "2.7" before_install: - sudo apt-get update - sudo apt-get install -y libpoppler-cpp-dev pkg-config - - pip install cpp-coveralls script: python setup.py test -after_success: coveralls --build-root .