Skip to content

Commit

Permalink
Simplify if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
gjtorikian committed May 10, 2015
1 parent c580693 commit ea12974
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,8 @@ git:
before_install:
- gem install bundler
# we need a more recent cmake than travis/linux provides (at least 2.8.9):
- |
if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ]
then
echo 'yes' | sudo add-apt-repository ppa:kalakris/cmake
sudo apt-get update -qq
sudo apt-get install -qq cmake
elif [ ${TRAVIS_OS_NAME:-'linux'} = 'osx' ]
fi
- echo 'yes' | sudo add-apt-repository ppa:kalakris/cmake
- sudo apt-get update -qq
- sudo apt-get install -qq cmake

before_script: bundle update

0 comments on commit ea12974

Please sign in to comment.