Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't try to deploy non-master branches.

  • Loading branch information...
commit 8d07bed511e1840e68787eaa916b43bdfd15e60d 1 parent 943cdd2
Mike Burton authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 .travis.yml
View
4 .travis.yml
@@ -19,4 +19,6 @@ before_install:
- curl -L https://raw.github.com/embarkmobile/android-sdk-installer/master/android-sdk-installer | bash /dev/stdin --install=$COMPONENTS
- source ~/.android-sdk-installer/env
-script: "mvn deploy --settings target/travis/settings.xml"
+script:
+ - if [ "$TRAVIS_BRANCH" == "master" ] ; then target=deploy ; else target=install ; fi
+ - mvn $target --settings target/travis/settings.xml

1 comment on commit 8d07bed

@stephanenicolas

Supa cool. :)

I really like our new Travis file ;)

Please sign in to comment.
Something went wrong with that request. Please try again.