-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #705 from eed3si9n/bport/701
[1.3.x] Ignore stub symbols when API hashing annotations
- Loading branch information
Showing
7 changed files
with
64 additions
and
6 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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
dist: xenial | ||
group: stable | ||
|
||
language: scala | ||
|
||
scala: 2.12.8 | ||
|
||
matrix: | ||
include: | ||
- env: ADOPTOPENJDK=11 | ||
- env: ADOPTOPENJDK=8 | ||
|
||
before_install: | ||
# adding $HOME/.sdkman to cache would create an empty directory, which interferes with the initial installation | ||
- "[[ -d /home/travis/.sdkman/ ]] && [[ -d /home/travis/.sdkman/bin/ ]] || rm -rf /home/travis/.sdkman/" | ||
- curl -sL https://get.sdkman.io | bash | ||
- echo sdkman_auto_answer=true > /home/travis/.sdkman/etc/config | ||
- source "/home/travis/.sdkman/bin/sdkman-init.sh" | ||
|
||
install: | ||
- sdk install java $(sdk list java | grep -o "$ADOPTOPENJDK\.[0-9\.]*hs-adpt" | head -1) | ||
- unset _JAVA_OPTIONS | ||
- java -Xmx32m -version | ||
# detect sbt version from project/build.properties | ||
- export TRAVIS_SBT=$(grep sbt.version= project/build.properties | sed -e 's/sbt.version=//g' ) && echo "sbt $TRAVIS_SBT" | ||
- sdk install sbt $TRAVIS_SBT | ||
- unset SBT_OPTS | ||
- unset JAVA_OPTS | ||
|
||
script: bin/run-ci.sh | ||
|
||
before_cache: | ||
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -delete | ||
- find $HOME/.sbt -name "*.lock" -delete | ||
|
||
cache: | ||
directories: | ||
- $HOME/.cache/coursier | ||
- $HOME/.ivy2/cache | ||
- $HOME/.sbt/boot | ||
- $HOME/.sdkman |
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
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
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
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
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
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