Skip to content

Commit 94f20e3

Browse files
author
QuadStingray
committed
fix for windows test
1 parent a48ff08 commit 94f20e3

File tree

1 file changed

+22
-18
lines changed

1 file changed

+22
-18
lines changed

.travis.yml

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -61,35 +61,39 @@ jobs:
6161
- stage: Tests
6262
before_script:
6363
- choco install jdk8
64-
- choco install sbt
65-
- refreshenv
64+
- choco install sbt -ia "INSTALLDIR=""C:\sbt"""
65+
- SET PATH=C:\sbt\bin;%JAVA_HOME%\bin;%PATH%
66+
- SET SBT_OPTS=-XX:MaxPermSize=2g -Xmx4
6667
name: "Test on Window with JDK 8"
6768
os: windows
6869
language: bash
6970
script: sbt "^scripted windows/*"
7071
- stage: Tests
7172
before_script:
7273
- choco install jdk8
73-
- choco install sbt
74-
- refreshenv
74+
- choco install sbt -ia "INSTALLDIR=""C:\sbt"""
75+
- SET PATH=C:\sbt\bin;%JAVA_HOME%\bin;%PATH%
76+
- SET SBT_OPTS=-XX:MaxPermSize=2g -Xmx4
7577
name: "Test on Window with JDK 8"
7678
os: windows
7779
language: bash
7880
script: sbt "^scripted windows/*"
7981
- stage: Tests
8082
before_script:
8183
- choco install zulu10
82-
- choco install sbt
83-
- refreshenv
84+
- choco install sbt -ia "INSTALLDIR=""C:\sbt"""
85+
- SET PATH=C:\sbt\bin;%JAVA_HOME%\bin;%PATH%
86+
- SET SBT_OPTS=-XX:MaxPermSize=2g -Xmx4
8487
name: "Test on Window with Zulu JDK 10"
8588
os: windows
8689
language: bash
8790
script: sbt "^scripted windows/*"
8891
- stage: Tests
8992
before_script:
9093
- choco install openjdk11
91-
- choco install sbt
92-
- refreshenv
94+
- choco install sbt -ia "INSTALLDIR=""C:\sbt"""
95+
- SET PATH=C:\sbt\bin;%JAVA_HOME%\bin;%PATH%
96+
- SET SBT_OPTS=-XX:MaxPermSize=2g -Xmx4
9397
name: "Test on Window with OpenJdk JDK 11"
9498
os: windows
9599
language: bash
@@ -149,16 +153,16 @@ jobs:
149153
os: osx
150154
osx_image: xcode10.2
151155
script: rm -rf $HOME/.ivy2/local; sbt "^scripted mac/*"
152-
# - stage: Tests
153-
# name: "Test on Mac with OpenJDK 13"
154-
# before_install:
155-
# - sudo rm -rf /Library/Java/JavaVirtualMachines
156-
# - curl -sL https://github.com/shyiko/jabba/raw/master/install.sh | bash && . ~/.jabba/jabba.sh
157-
# - jabba install openjdk@1.13.0
158-
# - brew install sbt
159-
# os: osx
160-
# osx_image: xcode10.2
161-
# script: rm -rf $HOME/.ivy2/local; sbt "^scripted mac/*"
156+
# - stage: Tests
157+
# name: "Test on Mac with OpenJDK 13"
158+
# before_install:
159+
# - sudo rm -rf /Library/Java/JavaVirtualMachines
160+
# - curl -sL https://github.com/shyiko/jabba/raw/master/install.sh | bash && . ~/.jabba/jabba.sh
161+
# - jabba install openjdk@1.13.0
162+
# - brew install sbt
163+
# os: osx
164+
# osx_image: xcode10.2
165+
# script: rm -rf $HOME/.ivy2/local; sbt "^scripted mac/*"
162166
- stage: Publish
163167
language: scala
164168
if: branch = master

0 commit comments

Comments
 (0)