Detect branch being built with TravisCI and and use different gulp parameters depending on where the deployment is going.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|if [ $branch = "master" ]; then|
|echo "Building assets for production.";|
|gulp build --env production;|
|echo "Building assets for development.";|
|gulp build --no-watch;|