Travis CI: Add configuration for C++ / Windows

This commit is contained in:
Paweł Bylica 2019-03-14 01:37:03 +01:00
parent 3ef9c1de50
commit 89fcb6f37b
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
1 changed files with 24 additions and 0 deletions

24
.travis.yml Normal file
View File

@ -0,0 +1,24 @@
branches:
only:
- master
- /^release\/.*$/
- travis
matrix:
include:
- language: cpp
os: windows
cache:
directories:
- C:/Users/travis/.hunter/_Base/Cache
install:
- cmake --version
- mkdir build && cd build
- cmake .. -G "Visual Studio 15 2017 Win64" -DEVMC_TESTING=ON -DCMAKE_INSTALL_PREFIX=$HOME
- cmake --build . --config Release --target install
script:
- test/Release/evmc-test.exe
- $HOME/bin/evmc-vmtester.exe $HOME/bin/evmc-example-vm.dll