[Pkg-privacy-commits] [onionbalance] 50/117: Only install Tor and chutney for functional tests
Donncha O'Cearbahill
donncha-guest at moszumanska.debian.org
Wed Dec 16 23:18:45 UTC 2015
This is an automated email from the git hooks/post-receive script.
donncha-guest pushed a commit to branch debian/sid
in repository onionbalance.
commit 62aba4bc0b3c77f6e5540b68d6eccc4d11a95045
Author: Donncha O'Cearbhaill <donncha at donncha.is>
Date: Thu Jun 25 20:38:15 2015 +0100
Only install Tor and chutney for functional tests
---
.travis.yml | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 3bc1510..692ec8e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,14 +1,15 @@
language: python
+env:
+ - TOXENV=py27 TEST=functional
+ - TOXENV=py34 TEST=functional
+ - TOXENV=style
+ - TOXENV=docs
before_install:
- - ./test/scripts/install-tor.sh
- - export PATH=$PATH:$PWD/tor/src/tools:$PWD/tor/src/or
- - source test/scripts/install-chutney.sh
+ # Install tor and chutney if doing functional tests
+ - "if [[ $TEST == 'functional' ]]; then ./test/scripts/install-tor.sh; fi"
+ - "if [[ $TEST == 'functional' ]]; then export PATH=$PATH:$PWD/tor/src/tools:$PWD/tor/src/or; fi"
+ - "if [[ $TEST == 'functional' ]]; then source test/scripts/install-chutney.sh; fi"
install:
- pip install tox
script:
- tox
-env:
- - TOXENV=style
- - TOXENV=py27
- - TOXENV=py34
- - TOXENV=docs
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onionbalance.git
More information about the Pkg-privacy-commits
mailing list