File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11env :
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
3030before_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}
3838before_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 "
4747before_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
You can’t perform that action at this time.
0 commit comments