Skip to content

Commit

Permalink
No subshells for travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarwell committed May 19, 2019
1 parent 9839dc3 commit 4f67b49
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ env:
# Default JDK of xenial
- TRAVIS_JDK=

before_install: test -z "$TRAVIS_JDK" || (curl -Ls https://git.io/jabba | bash && . ~/.jabba/jabba.sh)
before_install: test -z "$TRAVIS_JDK" || curl -Ls https://git.io/jabba | bash && . ~/.jabba/jabba.sh

install:
# Only install and use JDK if it is set. If empty, use system JDK.
- test -z "$TRAVIS_JDK" || (jabba install "$TRAVIS_JDK" && jabba use $_);
- test -z "$TRAVIS_JDK" || jabba install "$TRAVIS_JDK");
- test -z "$TRAVIS_JDK" || jabba use "$TRAVIS_JDK");
# Print the JDK we are going to use.
- java -Xmx32m -version
# due to a bug, dependency resolve will try to resolve reactor projects from subfolders, although
Expand Down

0 comments on commit 4f67b49

Please # to comment.