aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorrl1987 <rl1987@sdf.lonestar.org>2018-10-16 13:11:42 +0300
committerNick Mathewson <nickm@torproject.org>2018-10-29 15:18:07 -0400
commitbee9093b556fb0381ef52680e25c94c0c337ace1 (patch)
treef58a59ec9b64c8f4924194dec08f36bade2cf096 /.travis.yml
parentcf434b6c80fec69cc6ea7a12692847764ea55295 (diff)
downloadtor-bee9093b556fb0381ef52680e25c94c0c337ace1.tar.gz
tor-bee9093b556fb0381ef52680e25c94c0c337ace1.zip
Save time in CI test-stem job
When running `make test-stem` on Travis, we should refrain from also running `make check`. Furthermore, let's limit compilation to src/app/tor target.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index c62702f9a8..e0cb88c1ac 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -204,8 +204,8 @@ script:
- echo "Configure flags are $CONFIGURE_FLAGS"
- ./configure $CONFIGURE_FLAGS
## We run `make check` because that's what https://jenkins.torproject.org does.
- - if [[ "$DISTCHECK" == "" ]]; then make check; fi
- - if [[ "$TEST_STEM" != "" ]]; then git clone --depth 1 https://github.com/torproject/stem.git ; export STEM_SOURCE_DIR=`pwd`/stem; make test-stem; fi
+ - if [[ "$DISTCHECK" == "" && "$TEST_STEM" == "" ]]; then make check; fi
+ - if [[ "$TEST_STEM" != "" ]]; then git clone --depth 1 https://github.com/torproject/stem.git ; export STEM_SOURCE_DIR=`pwd`/stem; make src/app/tor test-stem; fi
- if [[ "$DISTCHECK" != "" ]]; then make distcheck DISTCHECK_CONFIGURE_FLAGS="$CONFIGURE_FLAGS"; fi
after_failure: