Update .travis.yml, deploy_master.sh, and 2 more files...

This commit is contained in:
Andrea 2020-08-19 18:14:55 +02:00
parent 03a0e194c3
commit 54e80d7520
4 changed files with 5 additions and 1 deletions

View File

@ -51,6 +51,7 @@ deploy:
# script: "mvn -B -V deploy"
script: |
set -e
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
bash -e travis/linux.sh && bash -e travis/deploy_master.sh
fi

View File

@ -1,4 +1,5 @@
#!/bin/bash -e
set -e
# ====== Variables
export TD_SRC_DIR=${PWD}/dependencies/tdlight

View File

@ -1,4 +1,5 @@
#!/bin/bash -e
set -e
# ====== Variables
export TD_SRC_DIR=${PWD}/dependencies/tdlight
@ -38,7 +39,7 @@ echo "JAVA_INCLUDE_PATH=${JAVA_INCLUDE_PATH}"
# ====== Build Td
cd $TD_BUILD_DIR
cmake -DCMAKE_BUILD_TYPE=Release -DTD_ENABLE_JNI=ON -DCMAKE_INSTALL_PREFIX:PATH=${TD_BIN_DIR} ${TD_SRC_DIR}
cmake --build $TD_BUILD_DIR --target install -- j4
cmake --build $TD_BUILD_DIR --target install -- -j4
# ====== Build TdNatives
cd $TDNATIVES_CPP_BUILD_DIR

View File

@ -1,4 +1,5 @@
#!/bin/bash -e
set -e
# ====== Variables
export TD_SRC_DIR=${PWD}/dependencies/tdlight