diff --git a/.travis.sh b/.travis.sh index 08b4617268..86040add10 100755 --- a/.travis.sh +++ b/.travis.sh @@ -66,16 +66,18 @@ elif [ $TARGET ] ; then fi elif [ $GOAL ] ; then - if [ "test" == "$GOAL" ] ; then + if [ "test-all" == "$GOAL" ] ; then $MAKE check-target-independence || exit $? $MAKE check-fastram-usage-correctness || exit $? $MAKE check-platform-included || exit $? + else + export V=0 fi $MAKE $GOAL || exit $? if [ $PUBLISHCOV ] ; then - if [ "test" == "$GOAL" ] ; then + if [ "test-all" == "$GOAL" ] ; then lcov --directory . -b src/test --capture --output-file coverage.info 2>&1 | grep -E ":version '402\*', prefer.*'406\*" --invert-match lcov --remove coverage.info 'lib/test/*' 'src/test/*' '/usr/*' --output-file coverage.info # filter out system and test code lcov --list coverage.info # debug before upload diff --git a/.travis.yml b/.travis.yml index 2250be27c5..e794c0ea8a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -65,7 +65,6 @@ before_script: - clang --version - clang++ --version - gcc --version - - export V=0 script: ./.travis.sh