From 45d8237d944797824df876004607841a285cc527 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Mon, 24 Aug 2015 21:48:24 +0200 Subject: [PATCH] setting env variables --- .travis.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.travis.yml b/.travis.yml index d0edf14..0b7bef1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,6 +41,17 @@ before_install: install: - pip freeze script: +- which python +- which python2.7 +- which python3.4 +- export PATH=/home/travis/miniconda/envs/my_py3.4/bin:$PATH +- export PATH=/home/travis/miniconda/envs/my_py2.7/bin:$PATH +# activate the correct environment +- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then source activate my_py2.7; fi +- if [[ $TRAVIS_PYTHON_VERSION == 3.4 ]]; then source activate my_py3.4; fi +- which python +- which python2.7 +- which python3.4 - travis_wait python setup.py test after_success: - git config credential.helper "store --file=.git/credentials"