Skip to content

Commit

Permalink
Merge pull request #59 from intel-android/feature/build_env
Browse files Browse the repository at this point in the history
dynamically pick the environment based on whether a tag is used
  • Loading branch information
aegaas committed Oct 8, 2015
2 parents 162a8d9 + b47aa06 commit 6d060e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ before_script:
script:
- npm test
- bower install
- roots compile -e staging
- echo $TRAVIS_TAG; if [ "$TRAVIS_TAG" != "" ]; then export env='production'; else export env='staging'; fi; echo $env;
- roots compile -e $env
node_js:
- '0.12'
sudo: false
Expand Down

0 comments on commit 6d060e5

Please sign in to comment.