diff options
author | Cong <congusbongus@gmail.com> | 2016-07-15 17:18:07 +0300 |
---|---|---|
committer | Cong <congusbongus@gmail.com> | 2016-07-15 17:18:07 +0300 |
commit | fe199959435f04931789ae98cad53a64148c856c (patch) | |
tree | 62e41b15fe210988fd4dcc825fba8c6072038b18 | |
parent | 7c2ebf9a7b5832dacb3ceb2e79cbab2ea5607fac (diff) |
travis out of source build
-rw-r--r-- | .travis.yml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index 5a42d2d..4eaef76 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,8 +20,5 @@ before_script: - export CTEST_OUTPUT_ON_FAILURE=1 script: - - cmake samples - - make -j2 - - cmake tests - - make -j2 - - make test + - mkdir build && cd build && cmake ../samples && make -j2 && cd .. && rm -rf build + - mkdir build && cd build && cmake ../tests && make -j2 && make test && cd .. && rm -rf build |