This file contains hidden or 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
#! /bin/bash | |
# Only process first job in matrix (TRAVIS_JOB_NUMBER ends with ".1") | |
if [[ ! $TRAVIS_JOB_NUMBER =~ \.1$ ]]; then | |
echo "Skipping deploy since it's not the first job in matrix" | |
exit 0 | |
fi | |
# Don't process pull requests | |
# $TRAVIS_PULL_REQUEST will be the PR number or "false" if not a PR |