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
|
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:
|
|||||||
- 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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user