Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
sudo: true
matrix:
include:
- language: node_js
node_js: "8.9.4"
env:
- JOB="JAVA"
before_install:
- chmod +x mvnw && chmod +x .travis-deploy-heroku.sh
install:
- ./mvnw clean package -Pbuild-ui
script: ./.travis-deploy-heroku.sh
- language: android
node_js: "8.x"
env:
- JOB="ANDROID"
- ANDROID_NDK_VERSION="r17c"
android:
components:
- build-tools-27.0.3
- tools
- platform-tools
- android-26
- extra-android-m2repository
- extra-google-m2repository
before_install:
- export ANDROID_NDK_HOME=$ANDROID_HOME/android-ndk-${ANDROID_NDK_VERSION}
- wget -q https://dl.google.com/android/repository/android-ndk-${ANDROID_NDK_VERSION}-linux-x86_64.zip && unzip -q android-ndk-${ANDROID_NDK_VERSION}-linux-x86_64.zip && mv ./android-ndk-${ANDROID_NDK_VERSION} ${ANDROID_HOME}
- echo yes | sdkmanager "cmake;3.6.4111459"
- export CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL="https://services.gradle.org/distributions/gradle-3.3-all.zip"
- mkdir "$ANDROID_HOME/licenses" || true
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
- curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - && sudo apt-get install -y nodejs
install:
- cd ./cordova-app/app && npm install && npm run preconfig && npm run build
script: curl https://$APPETIZE_TOKEN@api.appetize.io/v1/apps/$APPETIZE_PUBLIC_KEY -F "file=@platforms/android/build/outputs/apk/android-debug.apk" -F "platform=android"