File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 44 directories :
55 - $HOME/.ccache
66 - $HOME/.cache/pip
7+ - $TRAVIS_BUILD_DIR/build/third_party
78sudo : required
89dist : trusty
910os :
@@ -41,7 +42,9 @@ before_install:
4142 - |
4243 function timeout() { perl -e 'alarm shift; exec @ARGV' "$@"; }
4344script :
44- - paddle/scripts/travis/$JOB.sh
45+ - |
46+ timeout 2580 paddle/scripts/travis/${JOB}.sh # 43min timeout
47+ RESULT=$?; if [ $RESULT -eq 0 ] || [ $RESULT -eq 142 ]; then true; else false; fi;
4548notifications :
4649 email :
4750 on_success : change
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ if(ANDROID)
7171 "Disable RDMA when cross-compiling for Android" FORCE)
7272endif (ANDROID)
7373
74- set (THIRD_PARTY_PATH "${PROJ_ROOT } /third_party" CACHE STRING
74+ set (THIRD_PARTY_PATH "${CMAKE_BINARY_DIR } /third_party" CACHE STRING
7575 "A path setting third party libraries download & build directories." )
7676
7777if (WITH_C_API AND WITH_PYTHON)
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ cd $TRAVIS_BUILD_DIR/build
77
88# Compile Documentation only.
99cmake .. -DCMAKE_BUILD_TYPE=Debug -DWITH_GPU=OFF -DWITH_DOC=OFF -DWITH_STYLE_CHECK=OFF
10+
1011mkdir output
1112make -j ` nproc`
1213find .. -name ' *whl' | xargs pip install # install all wheels.
You can’t perform that action at this time.
0 commit comments