Skip to content

Commit

Permalink
Run apt-get update, ignore apt cmake package
Browse files Browse the repository at this point in the history
CMake is already installed and a much more recent version is
available. Also, fetch updated list of packages:

* https://docs.travis-ci.com/user/installing-dependencies
* https://docs.travis-ci.com/user/reference/trusty
  • Loading branch information
PeterBowman committed Jan 22, 2018
1 parent a30db80 commit 147f6bf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@ compiler:
- clang

before_install:
- sudo apt-get -qq update
- 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
- '[[ "$TRAVIS_EVENT_TYPE" = cron ]] && export YARP_CHECKOUT=devel || export YARP_CHECKOUT=master'

install:
#-- Install cmake and eigen
- sudo apt-get install cmake libeigen3-dev
#-- Install eigen
- sudo apt-get install libeigen3-dev
#-- Install yarp
- git clone --branch="$YARP_CHECKOUT" https://github.com/robotology/yarp
- cd yarp && mkdir build && cd build
Expand Down

0 comments on commit 147f6bf

Please sign in to comment.