Skip to content

Commit 7b10681

Browse files
authored
Fix appveyor CI by using TLS 1.2 for Java 7 (#3440)
1 parent 64105b4 commit 7b10681

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

appveyor.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,15 @@ install:
3535
- cmd: IF DEFINED API_KEY_SECRET (secure-file\tools\secure-file -decrypt appveyor\api_key.enc -secret %API_KEY_SECRET% -out appveyor\api_key)
3636
- cmd: IF DEFINED API_KEY_SECRET (SET /P GOOGLE_API_KEY=<%APPVEYOR_BUILD_FOLDER%\appveyor\api_key)
3737
- cmd: ECHO GOOGLE_API_KEY defined
38+
- cmd: SET JAVA_OPTS=-Dhttps.protocols=TLSv1.2
3839

3940
# build and install artifacts
4041
build_script:
41-
- mvn clean install -DskipTests
42+
- mvn clean install -DskipTests -Dhttps.protocols=TLSv1.2
4243

4344
# verify artifacts
4445
test_script:
45-
- mvn verify -B -DtrimStackTrace=false -fae --quiet -DskipITs
46+
- mvn verify -B -DtrimStackTrace=false -fae --quiet -DskipITs -Dhttps.protocols=TLSv1.2
4647

4748
# preserve dependencies between builds
4849
cache:

0 commit comments

Comments
 (0)