21 lines
387 B
YAML
21 lines
387 B
YAML
language: cpp
|
|
|
|
matrix:
|
|
include:
|
|
- os: windows
|
|
env: configuration=Debug
|
|
- os: windows
|
|
env: configuration=Release
|
|
|
|
before_script:
|
|
- if [ $TRAVIS_OS_NAME == 'windows' ]; then
|
|
mkdir build;
|
|
cd build;
|
|
cmake .. -G "Visual Studio 15 2017" -A Win32;
|
|
fi
|
|
|
|
script:
|
|
- if [ $TRAVIS_OS_NAME == 'windows' ]; then
|
|
cmake --build . --config $configuration;
|
|
fi
|