-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sam Minnee
committed
Jun 15, 2016
1 parent
2168ab4
commit 4bf29ea
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,11 +10,11 @@ env: | |
before_script: | ||
- git config user.email "[email protected]" | ||
- git config user.name "SilverStripe" | ||
- [ "${TRAVIS_PULL_REQUEST}" = "false" -a "${TRAVIS_BRANCH}" = "master" ] && git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/* | ||
- [ "${TRAVIS_PULL_REQUEST}" = "false" -a "${TRAVIS_BRANCH}" = "master" ] && git config push.default simple | ||
- [ "${TRAVIS_PULL_REQUEST}" = "false" -a "${TRAVIS_BRANCH}" = "master" ] && git fetch --unshallow | ||
- [ "${TRAVIS_PULL_REQUEST}" = "false" -a "${TRAVIS_BRANCH}" = "master" ] && git remote set-url origin "https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}" | ||
- [ "${TRAVIS_PULL_REQUEST}" = "false" -a "${TRAVIS_BRANCH}" = "master" ] && git checkout -qf "${TRAVIS_COMMIT}" | ||
- '[ "${TRAVIS_PULL_REQUEST}" = "false" -a "${TRAVIS_BRANCH}" = "master" ] && git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*;' | ||
- '[ "${TRAVIS_PULL_REQUEST}" = "false" -a "${TRAVIS_BRANCH}" = "master" ] && git config push.default simple' | ||
- '[ "${TRAVIS_PULL_REQUEST}" = "false" -a "${TRAVIS_BRANCH}" = "master" ] && git fetch --unshallow' | ||
- '[ "${TRAVIS_PULL_REQUEST}" = "false" -a "${TRAVIS_BRANCH}" = "master" ] && git remote set-url origin "https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}"' | ||
- '[ "${TRAVIS_PULL_REQUEST}" = "false" -a "${TRAVIS_BRANCH}" = "master" ] && git checkout -qf "${TRAVIS_COMMIT}"' | ||
|
||
script: | ||
- '[ "${TRAVIS_PULL_REQUEST}" = "false" -a "${TRAVIS_BRANCH}" = "master" ] && bin/upload-phar > /dev/null 2>&1 || false' |