Skip to content

Commit

Permalink
Use $USER for both project and PR builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mikrosk committed May 7, 2017
1 parent 199807c commit dc44fa3
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .travis.yml
Expand Up @@ -7,13 +7,7 @@ compiler:
- m68k-atari-mint-gcc

before_install:
- export OWNER=$(echo "${TRAVIS_REPO_SLUG}" | cut -d '/' -f 1)
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ];
then
export USER=${OWNER};
else
export USER=$(echo "${TRAVIS_PULL_REQUEST_SLUG}" | cut -d '/' -f 1);
fi
- export USER=$(echo "${TRAVIS_REPO_SLUG}" | cut -d '/' -f 1)
- export BASE_RAW_URL="https://raw.githubusercontent.com/${USER}"

- wget -O .travis/download_prerequisities.sh "${BASE_RAW_URL}/travis-scripts/master/download_prerequisities.sh"
Expand Down

0 comments on commit dc44fa3

Please sign in to comment.