Unverified Commit 6b10c369 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by GitHub
Browse files

Merge pull request #96 from jcarpent/topic/travis

Travis: change policy to only perform build in DEBUG mode on Bionic
parents 97bdf692 a9075144
...@@ -3,20 +3,26 @@ language: cpp ...@@ -3,20 +3,26 @@ language: cpp
env: env:
global: global:
- CTEST_PARALLEL_LEVEL=4 - CTEST_PARALLEL_LEVEL=4
matrix: - CTEST_OUTPUT_ON_FAILURE=1
- BUILD_TYPE=Debug - MAKEFLAGS="-j2"
- BUILD_TYPE=Release
matrix: matrix:
include: include:
- dist: trusty - dist: trusty
compiler: gcc compiler: gcc
env: BUILD_TYPE=Release
- dist: xenial - dist: xenial
compiler: gcc compiler: gcc
- dist: xenial env: BUILD_TYPE=Release
compiler: clang - dist: bionic
compiler: gcc
env: BUILD_TYPE=Release
- dist: bionic
compiler: gcc
env: BUILD_TYPE=Debug
- os: osx - os: osx
compiler: clang compiler: clang
env: BUILD_TYPE=Release
install: install:
# Install dependencies for FCL # Install dependencies for FCL
...@@ -32,11 +38,11 @@ script: ...@@ -32,11 +38,11 @@ script:
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_CXX_FLAGS=-w .. - cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_CXX_FLAGS=-w ..
# Build # Build
- make -j4 - make
# Run unit tests # Run unit tests
- travis_wait 30 make test || travis_wait 30 ctest -VV - travis_wait 30 make test
# Make sure we can install and uninstall with no issues # Make sure we can install and uninstall with no issues
- sudo make -j4 install - sudo make install
- sudo make -j4 uninstall - sudo make uninstall
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment