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
env:
global:
- CTEST_PARALLEL_LEVEL=4
matrix:
- BUILD_TYPE=Debug
- BUILD_TYPE=Release
- CTEST_OUTPUT_ON_FAILURE=1
- MAKEFLAGS="-j2"
matrix:
include:
- dist: trusty
compiler: gcc
env: BUILD_TYPE=Release
- dist: xenial
compiler: gcc
- dist: xenial
compiler: clang
env: BUILD_TYPE=Release
- dist: bionic
compiler: gcc
env: BUILD_TYPE=Release
- dist: bionic
compiler: gcc
env: BUILD_TYPE=Debug
- os: osx
compiler: clang
env: BUILD_TYPE=Release
install:
# Install dependencies for FCL
......@@ -32,11 +38,11 @@ script:
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_CXX_FLAGS=-w ..
# Build
- make -j4
- make
# 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
- sudo make -j4 install
- sudo make -j4 uninstall
- sudo make install
- sudo make uninstall
Markdown is supported
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