Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
Merge 5e4d979 into 7b89abe
Browse files Browse the repository at this point in the history
  • Loading branch information
rhyolight committed Dec 11, 2014
2 parents 7b89abe + 5e4d979 commit bdcfa92
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ notifications:
- https://webhooks.gitter.im/e/68f77bae61efa5c931f8

before_install:
# install gcc-4.8 for C++11 compatibility, #TODO remove when Travis has gcc>=4.8, (it's used for clang too, in coveralls)
- "if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; sudo apt-get -qq update; sudo apt-get -qq install g++-4.8; alias gcc='gcc-4.8'; alias g++='g++-4.8'; fi"
- "if [ $CC = 'gcc' ]; then export CC='gcc-4.8'; export CXX='g++-4.8'; fi"
- "if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ]; then . ./ci/travis/before_install-linux.sh; fi"
- "if [ ${TRAVIS_OS_NAME:-'linux'} = 'osx' ]; then . ./ci/travis/before_install-osx.sh; fi"

Expand Down
12 changes: 12 additions & 0 deletions ci/travis/before_install-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@ echo ">>> Doing prep work..."
sudo add-apt-repository -y ppa:fkrull/deadsnakes
sudo apt-get update

# install gcc-4.8 for C++11 compatibility, #TODO remove when Travis has gcc>=4.8, (it's used for clang too, in coveralls)
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get -qq update
sudo apt-get -qq install g++-4.8
alias gcc='gcc-4.8'
alias g++='g++-4.8'

if [ $CC == 'gcc' ]; then
export CC='gcc-4.8'
export CXX='g++-4.8'
fi

echo ">>> Installing virtualenv..."
sudo apt-get install python$PY_VER python$PY_VER-dev python-virtualenv cmake-data
sudo ls -laFh /usr/lib/libpython$PY_VER.so
Expand Down

0 comments on commit bdcfa92

Please sign in to comment.