diff options
author | RALOVICH, Kristof <tade60@freemail.hu> | 2014-03-26 14:29:08 +0100 |
---|---|---|
committer | RALOVICH, Kristof <tade60@freemail.hu> | 2014-03-26 14:29:08 +0100 |
commit | aafa70d9b6a5e64dc3ba89d215dc2c7967fc2bf3 (patch) | |
tree | f512214d345e9190c51440a3033ff87425b16a25 | |
parent | e63065ae268d77f55fc0c2aa9f513d7bb2077dab (diff) |
travis-ci: commands are not run in subshells
-rw-r--r-- | .travis.yml | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index c7948b1..1b286f9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,11 +12,18 @@ notifications: branches:
only:
- master
-before_install: sudo apt-get update && uname -a
+before_install:
+ - sudo apt-get update
+ - uname -a
+ - free
+ - cat /proc/cpuinfo
+ - g++ -v
+ - clang++ -v
install: sudo apt-get install libboost-dev libboost-date-time-dev libboost-thread-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-test-dev libusb-dev libxml2-dev valgrind
before_script: mkdir cmake-build
script:
- - cd cmake-build && cmake ../src -DCMAKE_BUILD_TYPE=Release -DUSE_BOOST_TEST=TRUE -DCMAKE_INSTALL_PREFIX=/usr && make -j4 && make test ARGS=-j99
- - cd cmake-build && make clean
- - cd cmake-build && cmake ../src -DCMAKE_BUILD_TYPE=Debug -DUSE_BOOST_TEST=TRUE -DCMAKE_INSTALL_PREFIX=/usr && make -j4 && make test ARGS=-j99
- - cd cmake-build && make clean
+ - cd cmake-build
+ - cmake ../src -DCMAKE_BUILD_TYPE=Release -DUSE_BOOST_TEST=TRUE -DCMAKE_INSTALL_PREFIX=/usr && make -j4 && make test ARGS=-j99
+ - make distclean
+ - cmake ../src -DCMAKE_BUILD_TYPE=Debug -DUSE_BOOST_TEST=TRUE -DCMAKE_INSTALL_PREFIX=/usr && make -j4 && make test ARGS=-j99
+ - make distclean
|