travis: move to in-tree builds

This commit is contained in:
David Adam 2018-02-01 22:48:12 +08:00
parent 56be045324
commit 3be0261294

View File

@ -38,8 +38,7 @@ matrix:
env:
- USE_CMAKE="1" # Dummy value, shows up in the Travis UI only
script:
- mkdir build && cd build &&
cmake -DCMAKE_INSTALL_PREFIX=$HOME/prefix .. || cat CMakeFiles/CMakeError.log &&
- cmake -DCMAKE_INSTALL_PREFIX=$HOME/prefix . || cat CMakeFiles/CMakeError.log &&
make -j2 &&
make install &&
make test SHOW_INTERACTIVE_LOG=1