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


Loading…
Cancel
Save