Skip to content

Commit

Permalink
Use ctest instead of 'make test'
Browse files Browse the repository at this point in the history
This way we can provide error output of failed test with the --output-on-failure command line arg
  • Loading branch information
vigsterkr committed Aug 1, 2013
1 parent 5ab4f9c commit 9da75b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -43,4 +43,4 @@ before_install:
- sudo apt-get install -qq cdbs libeigen3-dev libarpack2-dev libatlas-base-dev libblas-dev libglpk-dev libhdf5-serial-dev libjson0-dev swig zlib1g-dev libxml2-dev libreadline6-dev libreadline-dev libsnappy-dev liblzo2-dev liblzma-dev liblapack-dev gdb cmake $EXTRA_PACKAGES
- wget http://googlemock.googlecode.com/files/gmock-1.6.0.zip && unzip gmock-1.6.0.zip
before_script: mkdir build && cd build
script: cmake -DENABLE_TESTING=ON $CMAKE_OPTIONS .. && make -j 4 && sudo make install && make test && ctest -D MemoryCheck
script: cmake -DENABLE_TESTING=ON $CMAKE_OPTIONS .. && make -j 4 && sudo make install && ctest --output-on-failure && ctest -D MemoryCheck

0 comments on commit 9da75b5

Please sign in to comment.