From 34abc9fb5b2b27e1159625479d175804c7b7a657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20=C5=81ukawski?= Date: Sun, 21 Apr 2019 02:07:48 +0200 Subject: [PATCH] Request Xenial image, reduce build log verbosity https://github.com/roboticslab-uc3m/questions-and-answers/issues/73 --- .travis.yml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4383c05..8370e60 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ language: cpp -dist: trusty +dist: xenial os: linux compiler: @@ -26,24 +26,20 @@ addons: # ROBOTICSLAB - libopencv-dev + - libpcl-dev + - libproj-dev # needed by libpcl-dev on Xenial (known bug) - libspnav-dev + - libxwiimote-dev before_install: #-- Register SSH deploy key for AMOR API private repository - source "$TRAVIS_BUILD_DIR/scripts/travis/configure-ssh.sh" - #-- Add source repository for PCL-related packages - - sudo add-apt-repository --yes ppa:v-launchpad-jochen-sprickerhof-de/pcl - - sudo apt-get -qq update - -install: - #-- Install PCL - - sudo apt-get install libpcl-all-dev - - #-- Install ROBOTICSLAB deps - - sudo apt-get install libxwiimote-dev - before_script: + # Reduce build log verbosity + - export CFLAGS="-w" + - export CXXFLAGS="-w" + - mkdir build && cd "$_" - cmake .. -DCMAKE_INSTALL_PREFIX="$PWD/install-system" -DNON_INTERACTIVE_BUILD=ON -DYCM_GIT_GITHUB_BASE_ADDRESS="git@github.com:"