Commit 6c373d89 authored by Stephen M. Coakley's avatar Stephen M. Coakley Committed by GitHub

Fix Travis integration (#349)

parent 7ed9fd6b
......@@ -16,11 +16,6 @@ addons:
- libncurses5-dev
- tree
env:
global:
- OMF_REPO_URI="https://github.com/$TRAVIS_REPO_SLUG"
- OMF_REPO_BRANCH="$TRAVIS_BRANCH"
before_install:
- source tools/travis-github-pr-integration.sh
- tools/travis-install-fish.sh
......
# Return if we are not in a Pull Request
[[ "$TRAVIS_PULL_REQUEST" = "false" ]] && return
if [[ "$TRAVIS_PULL_REQUEST" = "false" ]]; then
export OMF_REPO_URI="https://github.com/$TRAVIS_REPO_SLUG"
export OMF_REPO_BRANCH="$TRAVIS_BRANCH"
return
fi
GITHUB_PR_URL=https://api.github.com/repos/$TRAVIS_REPO_SLUG/pulls/$TRAVIS_PULL_REQUEST
GITHUB_PR_BODY=$(curl -s $GITHUB_PR_URL 2>/dev/null)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment