-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Travis CI for automatic build of test versions
- Loading branch information
Showing
4 changed files
with
45 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
language: android | ||
jdk: oraclejdk8 | ||
|
||
branches: | ||
only: | ||
- master | ||
|
||
android: | ||
components: | ||
- platform-tools | ||
- tools | ||
- build-tools-28.0.3 | ||
- android-28 | ||
- extra-android-m2repository | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- python3 | ||
ssh_known_hosts: modos189.ru | ||
|
||
notifications: | ||
email: | ||
on_success: change | ||
on_failure: always | ||
|
||
before_script: | ||
- openssl aes-256-cbc -K $encrypted_460819c10bef_key -iv $encrypted_460819c10bef_iv -in deploy_rsa.enc -out /tmp/deploy_rsa -d | ||
- chmod 600 /tmp/deploy_rsa | ||
- eval "$(ssh-agent -s)" | ||
- ssh-add /tmp/deploy_rsa | ||
- rm -rf build/local/* | ||
- rm -rf build/mobile/* | ||
|
||
script: | ||
- "./build.py local" | ||
- "./build.py mobile" | ||
- "bash ./deploy.sh" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
rsync -ar --delete-after --quiet $TRAVIS_BUILD_DIR/build/local/* [email protected]:/home/modos189/web/iitc.modos189.ru/public_html/build/test/ | ||
|
||
rsync -ar --delete-after --quiet $TRAVIS_BUILD_DIR/build/mobile/IITC_Mobile-debug.apk [email protected]:/home/modos189/web/iitc.modos189.ru/public_html/build/test/ | ||
|
||
ssh [email protected] 'bash /home/modos189/IITC-CE/website/update-test-builds.sh' |
Binary file not shown.