Skip to content

Commit

Permalink
update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Jul 29, 2016
1 parent afd6617 commit 2c380c8
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,6 @@ addons:
- lib32stdc++6
- lib32z1

android:
components:
- extra-android-support
- extra-google-google_play_services
- extra-android-m2repository
- extra-google-m2repository
- build-tools-22.0.1
- android-22
licenses:
- '.+'

branches:
only:
- master
Expand Down Expand Up @@ -68,6 +57,16 @@ after_success:
- codeclimate-test-reporter < coverage/lcov.info

before_deploy:
# start install android
- wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz
- tar -xzvf android-sdk_r24.2-linux.tgz
- echo "y" | ./android-sdk-linux/tools/android update sdk --no-ui --filter android-23,build-tools-23.0.1
- echo y | ./android-sdk-linux/tools/android update sdk --no-ui --all --filter extra-android-support
- echo y | ./android-sdk-linux/tools/android update sdk --no-ui --all --filter extra-android-m2repository
- echo y | ./android-sdk-linux/tools/android update sdk --no-ui --all --filter extra-google-m2repository
- echo y | ./android-sdk-linux/tools/android update sdk --no-ui --all --filter extra-google-google_play_services
- export ANDROID_HOME=${PWD}/android-sdk-linux
# end install android
- ionic state restore
- ionic platform add android
- ionic build android
Expand Down

0 comments on commit 2c380c8

Please sign in to comment.