Skip to content

Commit

Permalink
Configure non-interactive builds, drop git config
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterBowman authored Apr 18, 2019
1 parent e74227c commit 0ff5e31
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: cpp
dist: trusty
sudo: required
os: linux

compiler:
Expand All @@ -27,10 +26,6 @@ addons:
- libspnav-dev

before_install:
#-- Configure Git (needed by YCM)
- if [ ! `git config --get user.email` ]; then `git config --global user.email '[email protected]'`; fi
- if [ ! `git config --get user.name` ]; then `git config --global user.name 'Travis CI'`; fi

#-- Add source repository for PCL-related packages
- sudo add-apt-repository --yes ppa:v-launchpad-jochen-sprickerhof-de/pcl
- sudo apt-get -qq update
Expand All @@ -44,7 +39,7 @@ install:

before_script:
- mkdir -p build && cd "$_"
- cmake .. -DCMAKE_INSTALL_PREFIX="$PWD/install-system"
- cmake .. -DCMAKE_INSTALL_PREFIX="$PWD/install-system" -DNON_INTERACTIVE_BUILD=ON

script:
- make install
Expand Down

0 comments on commit 0ff5e31

Please sign in to comment.