-
Notifications
You must be signed in to change notification settings - Fork 20
/
appveyor.yml
50 lines (41 loc) · 1.61 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
version: 1.0.{build}-{branch}
image: Visual Studio 2019
environment:
USE_TESTING_TIMEOUTS: "true"
OPENSTUDIO_VERSION: 3.9.0
OPENSTUDIO_VERSION_SHA: cc1e0bbd6d
OPENSTUDIO_VERSION_EXT: "-rc2"
OPENSTUDIO_TEST_EXE: C:\projects\openstudio\bin\openstudio.exe
BUILD_TYPE: "test"
SKIP_COVERALLS: "true"
artifacts:
- path: 'export/*.tar.gz' #relative to root of repo
name: oss.tar.gz
init:
- #ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
clone_folder: C:\projects\openstudio-server
install:
# set PATH pre-installed ruby version
- ps: C:\projects\openstudio-server\ci\appveyor\install-ruby.ps1
- set PATH=C:\Ruby32-x64\bin;C:\Mongodb\bin;%PATH%
- C:\projects\openstudio-server\ci\appveyor\setup_ruby.cmd
- C:\projects\openstudio-server\ci\appveyor\setup.cmd
build: off
before_test:
- cmd: ruby -v
- cmd: gem -v
- cmd: bundle -v
- cmd: mongod.exe --version
- cmd: git --version
- cmd: gem list
- cmd: echo %PATH%
test_script:
- ps: C:\projects\openstudio-server\ci\appveyor\integration-test.ps1
- cmd: C:\projects\openstudio-server\ci\appveyor\unit-test.cmd
- cmd: C:\projects\openstudio-server\ci\appveyor\build_package.cmd #artifact upload occurs before on_finish
on_finish:
- cmd: echo FINISHED TEST_SCRIPTS
- cmd: C:\projects\openstudio-server\ci\appveyor\print_logs.cmd
#- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
on_failure:
- cmd: C:\projects\openstudio-server\ci\appveyor\print_logs.cmd