Commit 1bcc5e23 authored by Jesse Beder's avatar Jesse Beder
Browse files

Switch build command to use cmake instead of make.

This allows it to be cross-platform.
parent 8f3b8dff
language: cpp language: cpp
os:
- linux
- osx
- windows
compiler:
- clang
- gcc
before_install: before_install:
- | - |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
...@@ -20,10 +13,16 @@ before_script: ...@@ -20,10 +13,16 @@ before_script:
- cd build - cd build
- cmake .. - cmake ..
script: script:
- make - cmake --build .
- test/run-tests - test/run-tests
matrix: matrix:
exclude: include:
- os: linux - os: linux
compiler: gcc
- os: osx
compiler: clang
- os: osx
compiler: gcc
- os: windows
compiler: clang compiler: clang
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment