Skip to content

Commit

Permalink
some edits
Browse files Browse the repository at this point in the history
  • Loading branch information
SupinePandora43 committed Jun 24, 2019
1 parent 0060b56 commit 2e8db0d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
14 changes: 8 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,21 +130,23 @@ script: ./gradlew connectedCheck
jobs:
include:
- stage: deploy
env: API=28 ABI="google_apis;x86_64"
script: ./gradlew build connectedCheck
install:
- sdkmanager "emulator" > /dev/null # emulator
- node ./travis_scripts/get-glide.js # Glide
before_script: chmod +x ./gradlew
script: ./gradlew build
before_deploy:
- node ./travis_scripts/deploy.js
- chmod +x ./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
api_key: $GITHUB_TOKEN
file_glob: true
file: "./app/build/outputs/apk/*/*.apk"
file:
- "./app/build/outputs/apk/*/*.apk"
- "/home/travis/build/SupinePandora43/Russian/*/build/reports/lint-results.html"
skip_cleanup: true
name: $(date +'%Y.%m.%d.%H:%M.%S')
on:
Expand Down
7 changes: 0 additions & 7 deletions travis_scripts/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,6 @@ function deploy() {
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 {
console.log("DEPLOY: Error while saving appetize_url")
}
})
}
}
} else {
Expand Down

0 comments on commit 2e8db0d

Please sign in to comment.