-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml.disabled
59 lines (42 loc) · 1.45 KB
/
appveyor.yml.disabled
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
53
54
55
56
57
58
59
# Currently, appveyor does not seem to support VT-x. Without this, this will always fail at the packer step.
#
# You can consider this appveyor yml file useless until they add it.
version: 1.0.{build}
image:
- Visual Studio 2019 Preview
- Ubuntu1804
install:
# Windows instructions
- ps: Write-Host "I'm windows!"
# Install vagrant from separate script as it throws 3010 error code to make ya reboot.
- ps: cd $env:APPVEYOR_BUILD_FOLDER/ci-scripts/windows/
- ps: powershell ./try-install-vagrant.ps1
# Install general deps.
- ps: powershell ./install-deps.ps1
# Refresh environment variables.
- ps: refreshenv
# Append vbox command-line tools to PATH.
- ps: $env:Path += ";C:\Program Files\Oracle\VirtualBox"
# Print all env vars for debug.
- cmd: env
# Build all missing boxes.
- ps: cd $env:APPVEYOR_BUILD_FOLDER/packer
- ps: packer build ubuntu-mysql.json
- ps: packer build ubuntu-storage.json
- ps: packer build ubuntu-webserver.json
# Vagrant up!
- ps: cd $env:APPVEYOR_BUILD_FOLDER
- ps: vagrant up
# Linux instructions
- sh: echo "I'm Linux!"
- sh: sudo apt update
- sh: cd ${APPVEYOR_BUILD_FOLDER}/
- sh: sh ci-scripts/linux/install-deps.sh
# Build all missing boxes.
- sh: cd ${APPVEYOR_BUILD_FOLDER}/packer
- sh: packer build ubuntu-mysql.json
- sh: packer build ubuntu-storage.json
- sh: packer build ubuntu-webserver.json
# Vagrant up!
- sh: cd ${APPVEYOR_BUILD_FOLDER}/
- sh: vagrant up