From: Michal Sojka Date: Mon, 24 Sep 2018 17:47:02 +0000 (+0200) Subject: Travis: Move before_script before script :) X-Git-Url: https://rtime.felk.cvut.cz/gitweb/hercules2020/kcf.git/commitdiff_plain/13b7f798ad9451100b2ebcfa8adc3f495411ce48 Travis: Move before_script before script :) --- diff --git a/.travis.yml b/.travis.yml index 5a991b7..a8ddec5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,9 @@ addons: env: - CUDA_BIN_PATH=/usr/local/cuda-8.0 CXXFLAGS=-Werror CUDA_ARCH_LIST=6.2 NINJA_STATUS="[%f/%t] " +before_script: + - make -qp|grep "^BUILDS ="|grep -o '[a-z-]*' | tee .kcf_builds + script: make matrix: @@ -44,9 +47,6 @@ matrix: addons: apt: { sources: *common_sources, packages: [*common_packages, unzip] } -before_script: - - make -qp|grep "^BUILDS ="|grep -o '[a-z-]*' | tee .kcf_builds - before_cache: if [ -d vot2016 ]; then find -name output.txt -o -name core -print0 | xargs -0 rm -f; fi cache: directories: [ vot2016 ]