Skip to content

Commit

Permalink
Test redefining env vars - take #2.
Browse files Browse the repository at this point in the history
  • Loading branch information
f1ames committed Jun 4, 2021
1 parent 1ce966c commit 9b36009
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ jobs:
- TARGET_BRANCH="origin/$TRAVIS_BRANCH"
- CURRENT_BRANCH="origin/$TRAVIS_PULL_REQUEST_BRANCH"
- 'if [ "$TRAVIS_PULL_REQUEST" = "true" ]; then
TARGET_BRANCH="origin/HEAD^"
CURRENT_BRANCH="origin/HEAD";
sh -e TARGET_BRANCH="origin/HEAD^" && CURRENT_BRANCH="origin/HEAD"
fi'
# Setup CKEditor 4 testing environment
- pwd
Expand Down Expand Up @@ -66,9 +65,8 @@ jobs:
# Define target branches
- TARGET_BRANCH="origin/$TRAVIS_BRANCH"
- CURRENT_BRANCH="origin/$TRAVIS_PULL_REQUEST_BRANCH"
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
TARGET_BRANCH="origin/HEAD^"
CURRENT_BRANCH="origin/HEAD";
- 'if [ "$TRAVIS_PULL_REQUEST" = "true" ]; then
sh -e TARGET_BRANCH="origin/HEAD^" && CURRENT_BRANCH="origin/HEAD"
fi'
# Setup CKEditor 4 testing environment
- pwd
Expand Down

0 comments on commit 9b36009

Please sign in to comment.