Switch build command to use cmake instead of make.
This allows it to be cross-platform.
This commit is contained in:
parent
8f3b8dffb0
commit
1bcc5e2390
17
.travis.yml
17
.travis.yml
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user