You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
620 B
42 lines
620 B
branches:
|
|
only:
|
|
- master
|
|
|
|
language: cpp
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
compiler:
|
|
- gcc
|
|
- clang
|
|
|
|
jobs:
|
|
# do this here rather than in matrix since we don't need multiple compilers
|
|
include:
|
|
- os: windows
|
|
|
|
before_script:
|
|
- cd test
|
|
- mkdir build
|
|
- cd build
|
|
- cmake -DCMAKE_BUILD_TYPE=Debug ..
|
|
|
|
script:
|
|
- |
|
|
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
|
|
make
|
|
./bin/ply-test
|
|
fi
|
|
- |
|
|
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
|
make
|
|
./bin/ply-test
|
|
fi
|
|
- |
|
|
if [ "$TRAVIS_OS_NAME" = "windows" ]; then
|
|
cmake --build "."
|
|
ls
|
|
./bin/Debug/ply-test.exe
|
|
fi
|
|
|