Add files for Travis and AppVeyor

This commit is contained in:
Christian Schneider 2018-09-19 06:01:53 +02:00
parent 7160fd82cb
commit 90a32d923d
2 changed files with 28 additions and 0 deletions

22
.travis.yml Normal file
View file

@ -0,0 +1,22 @@
language: cpp
sudo: required
dist: trusty
compiler:
- clang
- gcc
os:
- linux
- osx
matrix:
exclude:
- os: osx
compiler: gcc
before_install:
- echo $LANG
- echo $LC_ALL
script:
- if [ $TRAVIS_OS_NAME == linux ]; then cmake -Bbuild -H. -G"Unix Makefiles"; cd build; make; fi
- if [ $TRAVIS_OS_NAME == osx ]; then cmake -Bbuild -H. -G"Unix Makefiles"; cd build; make; fi

6
appveyor.yml Normal file
View file

@ -0,0 +1,6 @@
version: 1.0.{build}
build_script:
- cmd: >-
cmake -Bbuild -H. -G"Visual Studio 14 2015 Win64"
msbuild build\fairytale.sln