[tor-commits] [tor/release-0.3.5] Save time in CI test-stem job

nickm at torproject.org nickm at torproject.org
Mon Oct 29 19:59:15 UTC 2018


commit bee9093b556fb0381ef52680e25c94c0c337ace1
Author: rl1987 <rl1987 at sdf.lonestar.org>
Date:   Tue Oct 16 13:11:42 2018 +0300

    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.
---
 .travis.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index c62702f9a..e0cb88c1a 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:





More information about the tor-commits mailing list