Skip to content

Commit ec803ec

Browse files
committed
Switch to use openjdk8 instead of oraclejdk8 on Travis CI
1 parent 2e7b4f8 commit ec803ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ language: java
33
jdk:
44
- openjdk12
55
- openjdk11
6-
- oraclejdk8
6+
- openjdk8
77

88
after_success:
99
- chmod -R 777 ./travis/after_success.sh

travis/after_success.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ echo "Current commit detected: ${commit_message}"
3434

3535
if [ $TRAVIS_REPO_SLUG == "mybatis/spring" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ] && [[ "$commit_message" != *"[maven-release-plugin]"* ]]; then
3636

37-
if [ $TRAVIS_JDK_VERSION == "oraclejdk8" ]; then
37+
if [ $TRAVIS_JDK_VERSION == "openjdk8" ]; then
3838

3939
# Deploy to sonatype
4040
./mvnw clean deploy -q --settings ./travis/settings.xml

0 commit comments

Comments
 (0)