8000 Add basic AppVeyor configuration. · scala-js/scala-js@fe7744c · GitHub
[go: up one dir, main page]

Skip to content

Commit fe7744c

Browse files
committed
Add basic AppVeyor configuration.
We just test that we can run the test suite with the main Scala version, as a sanity check, so that we don't break the Windows build so easily in the future.
1 parent 8e19fa0 commit fe7744c

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

appveyor.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
version: '{build}'
2+
image: Visual Studio 2015
3+
environment:
4+
global:
5+
NODEJS_VERSION: "8"
6+
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
7+
SCALA_VERSION: 2.12.4
8+
install:
9+
- ps: Install-Product node $env:NODEJS_VERSION
10+
- npm install
11+
- cmd: choco install sbt --version 1.0.2 -ia "INSTALLDIR=""C:\sbt"""
12+
- cmd: SET PATH=C:\sbt\bin;%JAVA_HOME%\bin;%PATH%
13+
- cmd: SET SBT_OPTS=-Xmx4g
14+
build: off
15+
test_script:
16+
# Very far from testing everything, but at least it is a good sanity check
17+
- cmd: sbt ";clean;++%SCALA_VERSION%;testSuite/test"
18+
cache:
19+
- C:\sbt
20+
- C:\Users\appveyor\.ivy2\cache
21+
- C:\Users\appveyor\.sbt

0 commit comments

Comments
 (0)
0