Switch build command to use cmake instead of make.

This allows it to be cross-platform.
This commit is contained in:
Jesse Beder 2019-03-24 18:27:01 -05:00
parent 8f3b8dffb0
commit 1bcc5e2390

View File

@ -1,11 +1,4 @@
language: cpp
os:
- linux
- osx
- windows
compiler:
- clang
- gcc
before_install:
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
@ -20,10 +13,16 @@ before_script:
- cd build
- cmake ..
script:
- make
- cmake --build .
- test/run-tests
matrix:
exclude:
include:
- os: linux
compiler: gcc
- os: osx
compiler: clang
- os: osx
compiler: gcc
- os: windows
compiler: clang