Skip to content

Commit

Permalink
Run unittests in 'script' section so that it reports failure when the…
Browse files Browse the repository at this point in the history
… unittests failed
  • Loading branch information
jslee02 committed Apr 4, 2016
1 parent 25979f4 commit 2a8ee91
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Expand Up @@ -35,10 +35,7 @@ script:
- mkdir build && cd build
- cmake -DBUILD_CORE_ONLY=$BUILD_CORE_ONLY -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DDART_COVERALLS=$COVERALLS ..
- make all
- if [ $BUILD_CORE_ONLY = OFF ]; then make tutorials examples tests; fi

after_success:
- if [ $BUILD_CORE_ONLY = OFF ]; then make test; fi
- if [ $BUILD_CORE_ONLY = OFF ]; then make tutorials examples tests test; fi
- if [ $COVERALLS = ON ]; then make coveralls; fi

after_failure:
Expand Down

0 comments on commit 2a8ee91

Please sign in to comment.