Skip to content

Commit 6f32495

Browse files
author
Martin Schwamberger
committed
Update travis file
1 parent 89681c3 commit 6f32495

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

.travis.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,22 @@ matrix:
1616
before_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
2026
script:
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
2336
before_deploy:
2437
- git config --local user.name "cwack"

0 commit comments

Comments
 (0)