File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,9 +16,22 @@ matrix:
1616before_install :
1717 - export TRAVIS_TAG=`mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec`
1818 - echo $TRAVIS_TAG
19+ - |
20+ if [ $TRAVIS_OS_NAME == "linux" ]; then
21+ mkdir $TRAVIS_BUILD_DIR/dist && chmod a+w $TRAVIS_BUILD_DIR/dist
22+ docker build -t android-openssl .
23+ docker run -it -d --user build --name openssl-container -v $TRAVIS_BUILD_DIR/dist:/home/build/app/dist -e TRAVIS_TAG=$TRAVIS_TAG android-openssl bash
24+ fi
1925
2026script :
21- - bash ./build-ios.sh $TRAVIS_TAG
27+ - |
28+ if [ $TRAVIS_OS_NAME == "linux" ]; then
29+ bash ./build-android.sh $TRAVIS_TAG
30+ fi
31+ - |
32+ if [ $TRAVIS_OS_NAME == "osx" ]; then
33+ bash ./build-android.sh $TRAVIS_TAG
34+ fi
2235
2336before_deploy :
2437 - git config --local user.name "cwack"
You can’t perform that action at this time.
0 commit comments