-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathappveyor.yml
41 lines (37 loc) · 1.42 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
version: "{build}"
environment:
global:
HAXELIB_NO_SSL: 1
HAXELIB_ROOT: C:\projects\haxelib
install:
- ps: Set-Service wuauserv -StartupType Manual
# Install the haxe chocolatey package (https://chocolatey.org/packages/haxe)
- cinst haxe -y
- RefreshEnv
# Setup haxelib
- mkdir "%HAXELIB_ROOT%"
- haxelib setup "%HAXELIB_ROOT%"
# Install test dependencies
#- cinst phantomjs -y
#- cinst php -y
# Download and setup a standalone flash player debugger
#- haxe flash/install.hxml
# Install project dependencies
# `> log.txt || type log.txt` is for muting the output unless there is an error
- haxelib install munit -R http://lib.haxe.org/ || type log.txt && cmd /C exit 1
- haxelib install hamcrest -R http://lib.haxe.org/ || type log.txt && cmd /C exit 1
- haxelib git continuation https://github.com/haxe-continuation/haxe-continuation.git 52cd6aada4b79711c32b4666f2807b4fd41db787 || type log.txt && cmd /C exit 1
- haxelib install test-adapter -R http://lib.haxe.org/
- haxelib list
- set PATH=%PATH%;C:\Program Files\AppVeyor\BuildAgent\
- ps: $env:path
# We don't use the build section, but do both build and
# test in `test_script:`.
# It is just because it is more similar to the TravisCI config,
# thus it would be easier to update both of them.
build: off
test_script:
- haxelib dev pony .
- haxelib run pony install -code -npm -userpath
- cd tests
- cmd: test.cmd | neko Appveyor.n