]> rtime.felk.cvut.cz Git - hercules2020/kcf.git/commitdiff
Travis: Move before_script before script :)
authorMichal Sojka <michal.sojka@cvut.cz>
Mon, 24 Sep 2018 17:47:02 +0000 (19:47 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Mon, 24 Sep 2018 17:47:02 +0000 (19:47 +0200)
.travis.yml

index 5a991b7d6c8772dcfa4c6c843ec22736f3bc6bd5..a8ddec50efa730a10e6acced4965e19adde9a868 100644 (file)
@@ -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 ]