Skip to content

Commit

Permalink
Request Xenial image, reduce build log verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterBowman committed Apr 21, 2019
1 parent a09f9cb commit 34abc9f
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: cpp
dist: trusty
dist: xenial
os: linux

compiler:
Expand All @@ -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="[email protected]:"

Expand Down

0 comments on commit 34abc9f

Please sign in to comment.