THRIFT-3007 Travis build is broken because of directory conflict
Patch: Nobuaki Sukegawa
This closes #381
diff --git a/.travis.yml b/.travis.yml
index cfa3c85..a5c728e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -37,7 +37,7 @@
- if [ "$ALL_DEPS" != "no" ] ; then cabal update ; fi
script:
- - if [ "x$CMAKE_CONFIG" != "xnone" ] ; then mkdir build && cd build && cmake -GNinja -DQT_MOC_EXECUTABLE="moq-qt5" $CMAKE_CONFIG $TRAVIS_BUILD_DIR ; fi
+ - if [ "x$CMAKE_CONFIG" != "xnone" ] ; then mkdir cmake_build && cd cmake_build && cmake -GNinja -DQT_MOC_EXECUTABLE="moq-qt5" $CMAKE_CONFIG $TRAVIS_BUILD_DIR ; fi
- if [ "x$CMAKE_CONFIG" != "xnone" ] ; then ninja ; fi
- if [ "x$CMAKE_CONFIG" != "xnone" ] ; then cpack ; cd $TRAVIS_BUILD_DIR ; fi
- if [ "x$CONFIG" != "xnone" ] ; then sh bootstrap.sh ; fi