From 7e0723a7fc5f94e38a9d75c9a9b4acaaa0087614 Mon Sep 17 00:00:00 2001 From: Alexander Kukushkin Date: Sun, 13 Mar 2016 09:17:52 +0100 Subject: [PATCH] Attempt to export acceptance tests coverage results to coveralls --- .travis.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index f20910d1..6f92756a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,11 @@ language: python addons: postgresql: "9.5" env: - - TEST_SUITE="python setup.py test" - - TEST_SUITE="behave" + global: + - BOTO_CONFIG='' ETCDVERSION=2.2.5 + matrix: + - TEST_SUITE="python setup.py test" + - TEST_SUITE="behave" python: - "2.7" - "3.4" @@ -20,11 +23,11 @@ install: - sudo /etc/init.d/postgresql stop - if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then pip install -r requirements-py2.txt --use-mirrors; fi - if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then pip install -r requirements-py3.txt; fi - - ETCDVERSION=2.2.5 curl -L https://github.com/coreos/etcd/releases/download/v${ETCDVERSION}/etcd-v${ETCDVERSION}-linux-amd64.tar.gz | tar xz -C . --strip=1 --wildcards --no-anchored etcd + - curl -L https://github.com/coreos/etcd/releases/download/v${ETCDVERSION}/etcd-v${ETCDVERSION}-linux-amd64.tar.gz | tar xz -C . --strip=1 --wildcards --no-anchored etcd - pip install behave codacy-coverage coverage coveralls script: - python setup.py test - - BOTO_CONFIG='' PATH=.:$PATH $TEST_SUITE + - PATH=.:$PATH $TEST_SUITE - python setup.py flake8 after_success: - coveralls