diff --git a/.travis.yml b/.travis.yml index 720001e..39b63a6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -49,7 +49,7 @@ deploy: script: | if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then - bash -e travis/linux.sh && bash -e travis/deploy_master.sh + travis_wait 30 bash -e travis/linux.sh && bash -e travis/deploy_master.sh fi if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then diff --git a/travis/linux.sh b/travis/linux.sh index 114def5..f875eb8 100644 --- a/travis/linux.sh +++ b/travis/linux.sh @@ -20,14 +20,14 @@ cd jnibuild #export JAVA_HOME=/usr/lib/jvm/java-1.13.0-openjdk-amd64 #export JAVA_INCLUDE_PATH=/usr/lib/jvm/java-1.13.0-openjdk-amd64/include/ cmake -DCMAKE_BUILD_TYPE=Release -DTD_ENABLE_JNI=ON -DCMAKE_INSTALL_PREFIX:PATH=${TD_BIN_DIR} ${TD_SRC_DIR} -travis_wait 30 cmake --build . --target install -- -j4 +cmake --build . --target install -- -j4 cd ../../../../../ #mvn install -X cd src/main/jni/jtdlib/build cmake -DCMAKE_BUILD_TYPE=Release -DTd_DIR=${TD_BIN_DIR}/lib/cmake/Td -DJAVA_SRC_DIR=${JAVA_SRC_DIR} -DCMAKE_INSTALL_PREFIX:PATH=.. .. -travis_wait 30 cmake --build . --target install -- -j4 +cmake --build . --target install -- -j4 cd .. #rm -r jnibuild #rm -r build