diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2021-03-02 13:34:07 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2021-03-07 11:42:59 +0000 |
commit | bbe9807d86b7196d8f2c880f3707db9f023a0ec4 (patch) | |
tree | 4f8e299ed03486de6de55bec6a30be867ee9fad5 /.travis.yml | |
parent | 167164885dfc80776178fced46a805dc768359a3 (diff) | |
download | swig-bbe9807d86b7196d8f2c880f3707db9f023a0ec4.tar.gz |
Travis cmake tweaks
Reduce amount of testing.
Display cmake version used.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml index 9a4bff713..799a08854 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,10 +5,6 @@ matrix: os: linux env: SWIGLANG= dist: xenial - - compiler: clang - os: linux - env: SWIGLANG= BUILDSYSTEM=cmake - dist: xenial - compiler: gcc os: linux env: SWIGLANG= @@ -350,9 +346,6 @@ matrix: os: osx osx_image: xcode12.2 env: SWIGLANG= - - compiler: gcc - os: osx - env: SWIGLANG= BUILDSYSTEM=cmake - compiler: clang os: osx env: SWIGLANG= BUILDSYSTEM=cmake @@ -447,7 +440,7 @@ install: - if test "$TRAVIS_OS_NAME" = "osx"; then source Tools/travis-osx-install.sh; fi - ls -la $(which $CC) $(which $CXX) && $CC --version && $CXX --version script: - - if test "$BUILDSYSTEM" = "cmake"; then mkdir -p build/build && cd build/build && CXXFLAGS="-Wall -Wextra -Werror" CFLAGS="-Wall -Wextra -Werror" cmake -DCMAKE_INSTALL_PREFIX=~/.local ../.. && make install && ctest --output-on-failure -V && exit 0; fi + - if test "$BUILDSYSTEM" = "cmake"; then cmake --version && mkdir -p build/build && cd build/build && CXXFLAGS="-Wall -Wextra -Werror" CFLAGS="-Wall -Wextra -Werror" cmake -DCMAKE_INSTALL_PREFIX=~/.local ../.. && make install && ctest --output-on-failure -V && exit 0; fi - echo 'Configuring...' && echo -en 'travis_fold:start:script.1\\r' - if test -n "$CPP11"; then CONFIGOPTS+=(--enable-cpp11-testing --without-maximum-compile-warnings "CXXFLAGS=-std=c++11 -Wall -Wextra" "CFLAGS=-std=c11 -Wall -Wextra") && export CSTD=c11 && export CPPSTD=c++11; fi - if test -n "$CPP14"; then CONFIGOPTS+=(--enable-cpp11-testing --without-maximum-compile-warnings "CXXFLAGS=-std=c++14 -Wall -Wextra" "CFLAGS=-std=c11 -Wall -Wextra") && export CSTD=c11 && export CPPSTD=c++14; fi |