Skip to content

Commit

Permalink
clean up cmake build folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen Qin committed Aug 23, 2019
1 parent 3576b5f commit 2ab1979
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tests/travis/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,11 @@ fi
if [ ${TASK} == "rabit_recovery" ]; then
set -e
mkdir build
cd build
CC=gcc-7 CXX=g++-7 cmake -DRABIT_MOCK=ON ..
make
cd ..
rm -rf build
cd tests/cli
./runxgb.sh
rm -rf build
fi
5 changes: 4 additions & 1 deletion tests/travis/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ fi

if [ ${TASK} == "rabit_recovery" ]; then
if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then sudo apt-get install python3-pip; fi
if [[ ${TRAVIS_OS_NAME} == "osx" ]]; then brew install python3; fi
if [[ ${TRAVIS_OS_NAME} == "osx" ]]; then
brew install python3;
sudo softwareupdate -i "Command Line Tools (macOS High Sierra version 10.13) for Xcode-9.3"
fi
sudo pip3 install cpplint pylint urllib3 numpy
sudo pip3 install websocket-client kubernetes
fi

0 comments on commit 2ab1979

Please sign in to comment.