diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-09-19 22:13:23 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-09-19 22:13:23 +0200 |
commit | e24619a08f192543a02e6003ef144e5443e8a156 (patch) | |
tree | d1850a0400879876952052b202c1e228baeaa9c1 /.travis.yml | |
parent | fb2300a799884db32979cad7cdf6785e172d95d8 (diff) |
Minify travis script by using Makefile
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml index 6145fdd2..7853d17f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,18 +21,9 @@ before_script: script: - | if [[ "$TEST_SUITE" == "binaries" ]]; then - make $(find . -maxdepth 1 -name "imag-*" -type d -printf "%f ") && \ - for d in $(find -name "Cargo.toml" | grep -vE "^./Cargo.toml$"); do - dir=$(dirname $d) - echo "--- Running test scripts ---" - for testsh in $(find $dir -iname "*test.sh"); do - echo "--- Running test script: '$testsh'" - bash $testsh || { echo "--- Test failed. Exiting"; exit 1; } - echo "--- Test script $testsh executed successfully" - done - done + make bin-test else # $TEST_SUITE == "libraries" - make $(find . -maxdepth 1 -name "libimag*" -printf "%f-test ") + make lib-test fi addons: |