forked from clojure/clojurescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
52 lines (40 loc) · 1.68 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
image: Visual Studio 2017
environment:
nodejs_version: "6"
platform:
- x64
configuration:
- Release
matrix:
allow_failures:
- platform: x64
configuration: Release
cache:
- '%UserProfile%\.m2'
install:
# these need to have a line in between because of Windows line endings
- ps: >-
New-Item c:\scripts -type directory
$env:Path += ";C:\scripts"
Invoke-WebRequest -Uri https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein.bat -OutFile "C:\scripts\lein.bat"
lein self-install
lein version
- ps: Install-Product node $env:nodejs_version x64
- ps: wget 'http://ftp.mozilla.org/pub/firefox/nightly/latest-mozilla-central/jsshell-win64.zip' -OutFile "$pwd\jsshell.zip"
- ps: 7z x "-o$pwd\jsshell" jsshell.zip -r
- ps: wget 'https://aka.ms/chakracore/cc_windows_all_1_8_1' -OutFile "$pwd\chakra-core.zip"
- ps: 7z x "-o$pwd\chakra-core" chakra-core.zip -r
- ps: .\script\bootstrap.ps1
- ps: "[Console]::OutputEncoding = [Text.UTF8Encoding]::UTF8"
- ps: $env:SPIDERMONKEY_HOME = "$pwd/jsshell"
- ps: $SPIDERMONKEY_HOME = "$pwd/jsshell"
- ps: $env:CHAKRACORE_HOME = "$pwd/chakra-core/x64_release"
- ps: $CHAKRACORE_HOME = "$pwd/chakra-core/x64_release"
test_script:
- cmd: lein test
- cmd: powershell -noninteractive -noprofile -command .\script\test.ps1 > test-out.txt
- cmd: type test-out.txt
# Since tests are currently only run in 2 JavaScript environments, look for exactly 2 counts of "0 failures, 0 errors."
- cmd: powershell -noninteractive -noprofile -command if (-not ((sls -Pattern '0 failures, 0 errors.' -SimpleMatch test-out.txt).count -eq 2)) { exit 1 }
# Don't actually build (MSBuild).
build: off