Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Commit

Permalink
Conditional alias
Browse files Browse the repository at this point in the history
  • Loading branch information
spences10 committed Jan 12, 2018
1 parent b7cf67c commit 536fbaa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ script:
- npm run build
- npm run deploy

- "[[ $TRAVIS_BRANCH =~ development ]] && echo 'on dev branch!' || true"
- "[[ $TRAVIS_BRANCH =~ master ]] && echo 'on master branch!' || true"

after_script:
- if [ "$TRAVIS_BRANCH" = "development" ]; then npm run alias:dev; fi
- if [ "$TRAVIS_BRANCH" = "master" ]; then npm run alias:prod; fi
Expand Down

0 comments on commit 536fbaa

Please sign in to comment.