Skip to content

Commit

Permalink
Make a separate travis job for android
Browse files Browse the repository at this point in the history
Since the download and install of the android sdk sometimes takes very
long time, build and deploy android in a separate travis job. The
environment variable ANDROID=true is only used to be able to distinguish
the two oraclejdk7 jobs in the travis build matrix.
  • Loading branch information
brasmusson committed Sep 7, 2013
1 parent 0033247 commit 9fe69c6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ jdk:
matrix:
include:
- jdk: oraclejdk7
script: mvn -q deploy -P android --settings .travis-settings.xml -Dno.gem.deploy=true -Dandroid.device=test
script: mvn -q deploy --settings .travis-settings.xml -Dno.gem.deploy=true
- jdk: oraclejdk7
env: ANDROID=true
script: mvn -q deploy -P android -pl android --settings .travis-settings.xml -Dno.gem.deploy=true -Dandroid.device=test
before_install:
# Install base Android SDK
- sudo apt-get update -qq
Expand Down

0 comments on commit 9fe69c6

Please sign in to comment.