Skip to content
This repository was archived by the owner on Jan 28, 2023. It is now read-only.

Commit 0d6455b

Browse files
committed
Added TravisCI configuration file
Signed-off-by: Alexandro Sanchez Bach <[email protected]>
1 parent 43b3e4f commit 0d6455b

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.travis.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
language: c
2+
3+
matrix:
4+
include:
5+
- name: "haxm-darwin"
6+
os: osx
7+
osx_image: xcode10
8+
addons:
9+
homebrew:
10+
packages:
11+
- nasm
12+
script:
13+
- cd platforms/darwin
14+
- xcodebuild -configuration Debug -sdk macosx10.14
15+
16+
exclude: # TODO: Currently TravisCI does not support full VS/EWDK on Windows
17+
- name: "haxm-windows"
18+
os: windows
19+
install:
20+
- choco install -y nuget.commandline
21+
- choco install -y windowsdriverkit10
22+
script:
23+
- cd platforms/windows
24+
- nuget restore
25+
- export PATH="$PATH:/c/Program Files (x86)/Microsoft Visual Studio/Installer/"
26+
- export MSVC=$(vswhere -latest -products "*" -requires Microsoft.Component.MSBuild -property installationPath)
27+
- export MSVC=$(echo /$MSVC | sed -e 's/\\/\//g' -e 's/://')
28+
- export PATH="$PATH:$MSVC/MSBuild/15.0/Bin/"
29+
- MSBuild.exe haxm.sln //p:Configuration="Debug" //p:Platform="x64"

0 commit comments

Comments
 (0)