Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
SupinePandora43 committed Jun 23, 2019
1 parent 574be2c commit 57646f9
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 41 deletions.
80 changes: 40 additions & 40 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,54 +27,54 @@ env:
global:
- ADB_INSTALL_TIMEOUT=8
matrix:
- API=29 ABI="google_apis;x86_64" #
- API=29 ABI="google_apis;x86" #
# - API=29 ABI="google_apis;x86_64" #
# - API=29 ABI="google_apis;x86" #

- API=28 ABI="google_apis;x86" #

- API=27 ABI="default;x86_64" #
- API=27 ABI="google_apis;x86" #
# - API=27 ABI="default;x86_64" #
# - API=27 ABI="google_apis;x86" #

- API=26 ABI="google_apis;x86_64" #
- API=26 ABI="google_apis;x86" #
# - API=26 ABI="google_apis;x86_64" #
# - API=26 ABI="google_apis;x86" #

- API=25 ABI="google_apis;x86_64" #
- API=25 ABI="google_apis;x86" #
- API=25 ABI="google_apis;armeabi-v7a" #
- API=25 ABI="google_apis;arm64-v8a" #
# - API=25 ABI="google_apis;x86_64" #
# - API=25 ABI="google_apis;x86" #
# - API=25 ABI="google_apis;armeabi-v7a" #
# - API=25 ABI="google_apis;arm64-v8a" #

- API=24 ABI="google_apis;x86_64" #
- API=24 ABI="google_apis;x86" #
- API=24 ABI="google_apis;armeabi-v7a" #
- API=24 ABI="google_apis;arm64-v8a" #
# - API=24 ABI="google_apis;x86_64" #
# - API=24 ABI="google_apis;x86" #
# - API=24 ABI="google_apis;armeabi-v7a" #
# - API=24 ABI="google_apis;arm64-v8a" #

- API=23 ABI="google_apis;x86_64" #
- API=23 ABI="google_apis;x86" #
- API=23 ABI="google_apis;armeabi-v7a" #
# - API=23 ABI="google_apis;x86_64" #
# - API=23 ABI="google_apis;x86" #
# - API=23 ABI="google_apis;armeabi-v7a" #

- API=22 ABI="google_apis;x86_64" #
- API=22 ABI="google_apis;x86" #
- API=22 ABI="google_apis;armeabi-v7a" #
# - API=22 ABI="google_apis;x86_64" #
# - API=22 ABI="google_apis;x86" #
# - API=22 ABI="google_apis;armeabi-v7a" #

- API=21 ABI="google_apis;x86_64" #
- API=21 ABI="google_apis;x86" #
- API=21 ABI="google_apis;armeabi-v7a" #
# - API=21 ABI="google_apis;x86_64" #
# - API=21 ABI="google_apis;x86" #
# - API=21 ABI="google_apis;armeabi-v7a" #

- API=19 ABI="google_apis;x86" #
- API=19 ABI="google_apis;armeabi-v7a" #
- API=19 ABI="google_apis;armeabi" #
# - API=19 ABI="google_apis;x86" #
# - API=19 ABI="google_apis;armeabi-v7a" #
# - API=19 ABI="google_apis;armeabi" #

- API=18 ABI="google_apis;x86" #
- API=18 ABI="google_apis;armeabi" #
- API=18 ABI="google_apis;armeabi-v7a" #
# - API=18 ABI="google_apis;x86" #
# - API=18 ABI="google_apis;armeabi" #
# - API=18 ABI="google_apis;armeabi-v7a" #

- API=17 ABI="google_apis;x86" #
- API=17 ABI="google_apis;armeabi" #
- API=17 ABI="google_apis;armeabi-v7a" #
# - API=17 ABI="google_apis;x86" #
# - API=17 ABI="google_apis;armeabi" #
# - API=17 ABI="google_apis;armeabi-v7a" #

- API=16 ABI="google_apis;x86" #
- API=16 ABI="google_apis;armeabi-v7a" #
- API=16 ABI="google_apis;armeabi" #
# - API=16 ABI="google_apis;armeabi" #

branches:
only:
Expand Down Expand Up @@ -126,18 +126,18 @@ before_script:
- chmod +x ./gradlew
script: ./gradlew connectedCheck

matrix:
fast_finish: true
allow_failures:
- language: android
jobs:
include:
- name: deploy
- stage: deploy
env: API=28 ABI="google_apis;x86_64"
script: ./gradlew build connectedCheck
before_deploy:
- node ./travis_scripts/deploy.js
- chmod +x ./travis_scripts/appetize_url.sh
- ./travis_scripts/appetize_url.sh
- source ./travis_scripts/appetize_url.sh
- echo $APPETIZE_URL
- chmod +x ./travis_scripts/appetize_url1.sh
- source ./travis_scripts/appetize_url1.sh
- echo $APPETIZE_URL
deploy:
provider: releases
Expand Down
9 changes: 8 additions & 1 deletion travis_scripts/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@ function deploy() {
if (process.env.CI == "true") {
console.log("DEPLOY: CI")
if (process.platform == "linux" || process.platform == "darwin") {
fs.writeFile(__dirname + "/appetize_url.sh", "#!/usr/bin/env sh\n\nexport APPETIZE_URL='" + output.publicURL.toString() + "'", (err) => {
fs.writeFile(__dirname + "/appetize_url.sh", "#!/bin/sh sh\nexport APPETIZE_URL=" + output.publicURL.toString(), (err) => {
if (err == null) {
console.log("DEPLOY: Open appetize_url.sh");
} else {
console.log("DEPLOY: Error while saving appetize_url")
}
})
fs.writeFile(__dirname + "/appetize_url1.sh", "#!/bin/sh sh\nexport APPETIZE_URL=\'" + output.publicURL.toString() + "\'", (err) => {
if (err == null) {
console.log("DEPLOY: Open appetize_url.sh");
} else {
Expand Down

0 comments on commit 57646f9

Please sign in to comment.