Feature/windows ci (#76)

* close with params

* ...

* different generator

* core size = 1

* disable more tests to get something working on windows

* try to enable another test on windows

* enable all OS

* set proper version of linux

* another try

* try again with just env variables

* Revert "core size = 1"

This reverts commit 29af74bba6.

* add windows and mac

* Revert "close with params"

This reverts commit 6bb00b6788.
This commit is contained in:
Benjamin Sergeant
2019-05-13 16:51:58 -07:00
committed by GitHub
parent 27bf1684cb
commit c01c53c5c7
4 changed files with 46 additions and 32 deletions

View File

@ -1,17 +1,31 @@
language: cpp
dist: xenial
compiler:
- gcc
- clang
os:
- linux
- osx
language: bash
matrix:
exclude:
# GCC fails on recent Travis OSX images.
- compiler: gcc
os: osx
include:
# macOS
- os: osx
compiler: clang
script: make test
script: python test/run.py
# Linux
- os: linux
dist: xenial
script: python test/run.py
env:
- CC=clang
- CXX=clang++
- os: linux
dist: xenial
script: python test/run.py
env:
- CC=clang
- CXX=clang++
# Windows
- os: windows
env:
- CMAKE_PATH="/c/Program Files/CMake/bin"
script:
- export PATH=$CMAKE_PATH:$PATH
- python test/run.py