Skip to content

Commit 13aa49c

Browse files
author
plamen5kov
committed
updated ndk version and force run test tasks
1 parent a739784 commit 13aa49c

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
env:
22
global:
3-
- NDK_VERSION=r10e
3+
- NDK_VERSION=r11c
44
- DATE=$(date +%Y-%m-%d)
55
- PACKAGE_VERSION=$DATE-$TRAVIS_BUILD_NUMBER
66
- ANDROID_VERSION=19
@@ -30,9 +30,9 @@ cache:
3030
before_install:
3131
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
3232
- git submodule update --init --recursive
33-
- wget http://dl.google.com/android/ndk/android-ndk-$NDK_VERSION-linux-x86_64.bin
34-
- chmod +x android-ndk-$NDK_VERSION-linux-x86_64.bin
35-
- "./android-ndk-$NDK_VERSION-linux-x86_64.bin | egrep -v ^Extracting"
33+
- wget http://dl.google.com/android/repository/android-ndk-$NDK_VERSION-linux-x86_64.zip
34+
- chmod +x android-ndk-$NDK_VERSION-linux-x86_64.zip
35+
- "unzip android-ndk-$NDK_VERSION-linux-x86_64.zip | egrep -v ^Extracting"
3636
- export ANDROID_NDK_HOME=`pwd`/android-ndk-$NDK_VERSION
3737
- export PATH=${PATH}:${ANDROID_NDK_HOME}
3838
before_script:
@@ -43,7 +43,7 @@ script:
4343
- "./gradlew createPackage -i -PPACKAGE_VERSION=$PACKAGE_VERSION -PcompileSdk=android-$ANDROID_VERSION
4444
-PsupportVersion=$ANDROID_SUPPORT_VERSION --stacktrace"
4545
- "cd test-app && ./gradlew runtest -PenableTest -PcompileSdk=android-$ANDROID_VERSION -PsupportVersion=$ANDROID_SUPPORT_VERSION
46-
-PtargetSdk=$ANDROID_VERSION --stacktrace"
46+
-PtargetSdk=$ANDROID_VERSION --stacktrace --rerun-tasks"
4747
before_deploy:
4848
- FULL_PACKAGE_VERSION=`sed -n 's/\s*"version":\s*"\([a-zA-Z0-9.\-]\+\)"/\1/p' dist/package.json`
4949
- mv dist/$PACKAGE_NAME-$FULL_PACKAGE_VERSION.tgz ../.deploymentpackage

0 commit comments

Comments
 (0)