Browse Source

Switch travis to use cmake instead of autoconf.

tags/json-c-0.14-20200419
Eric Haszlakiewicz 5 years ago
parent
commit
677a8ccf44
1 changed files with 6 additions and 7 deletions
  1. +6
    -7
      .travis.yml

+ 6
- 7
.travis.yml View File

@@ -13,6 +13,7 @@ matrix:
- valgrind
- cppcheck
- doxygen
- cmake
env: CHECK="true"
# bionic
- os: linux
@@ -41,6 +42,7 @@ matrix:
- llvm-toolchain-xenial-5.0
packages:
- clang-5.0
- cmake
env: MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"
- os: linux
dist: xenial
@@ -51,6 +53,7 @@ matrix:
- llvm-toolchain-xenial-6.0
packages:
- clang-6.0
- cmake
env: MATRIX_EVAL="CC=clang-6.0 && CXX=clang++-6.0"
# clang-7 is the default on xenial and bionic
@@ -63,6 +66,7 @@ matrix:
- valgrind
- cppcheck
- doxygen
- cmake
env: CHECK="true"
# bionic
@@ -83,8 +87,6 @@ matrix:
dist: xenial
compiler: gcc
env: CHECK="true"
install:
- sh autogen.sh
before_install:
- sudo pip install cpp-coveralls
- echo $CC
@@ -99,7 +101,7 @@ matrix:
fi
before_script:
- export CFLAGS="-fprofile-arcs -ftest-coverage"
- ./configure
- cmake .
script:
- make
- make check
@@ -109,9 +111,6 @@ matrix:
# allow_failures:
# - os: osx
install:
- sh autogen.sh
before_install:
- echo $CC
- echo $LANG
@@ -125,7 +124,7 @@ before_install:
fi
before_script:
- ./configure
- cmake .
script:
- make


Loading…
Cancel
Save