summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTim Landscheidt <tim@tim-landscheidt.de>2019-01-19 15:04:40 +0000
committerMartin Michlmayr <tbm@cyrius.com>2019-01-19 19:35:22 -0300
commit53f4035a2f4a6f33b447ce3658c4dc062058c422 (patch)
treee6b874f91dc85320048e185e748863d200a83d49 /.travis.yml
parent731783bca0c7cc23ac4a5e8d7bb748136f519281 (diff)
downloadfork-ledger-53f4035a2f4a6f33b447ce3658c4dc062058c422.tar.gz
fork-ledger-53f4035a2f4a6f33b447ce3658c4dc062058c422.tar.bz2
fork-ledger-53f4035a2f4a6f33b447ce3658c4dc062058c422.zip
Use standard GCC in Travis CI
Commit 4c4367fe6b7f184605c900735fc5b646f45311c1 added some logic to compile Ledger with GCC 4.8 as Travis CI's Ubuntu Precise environments only offered 4.6 at that time. Since then, the default image has changed to Ubuntu Trusty which provides GCC 4.8.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 0 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index d10d4466..59ec77b2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,3 @@
-# Since the Travis CI environment http://docs.travis-ci.com/user/ci-environment/
-# provides GNU GCC 4.6, which does not support -std=c++11 GNU GCC 4.8 is installed
-
# NOTE: Please validate this file after editing it using
# Travis WebLint https://lint.travis-ci.org/
# or travis-lint https://github.com/travis-ci/travis-lint
@@ -64,11 +61,8 @@ addons:
branch_pattern: coverity
apt:
sources:
- - ubuntu-toolchain-r-test
#- boost-latest
packages:
- - gcc-4.8
- - g++-4.8
- libgmp-dev
- libmpfr-dev
- libedit-dev
@@ -86,7 +80,6 @@ before_install:
# - if [ "${TRAVIS_BRANCH}" = "master" ]; then export BOOST_VERSION="${BOOST_VERSION_MIN}"; else export BOOST_VERSION="${BOOST_VERSION_MAX}"; fi
- export BOOST_VERSION="${BOOST_VERSION_MAX}"
- if [ -n "${BOOST_VERSION}" ]; then export BOOST_ROOT="${TRAVIS_BUILD_DIR}/../boost-trunk"; export CMAKE_MODULE_PATH="${BOOST_ROOT}"; fi
- - if [ "${CXX}" = "g++" ]; then export CXX="$(which g++-4.8)"; export CC="$(which gcc-4.8)"; fi
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then export DYLD_LIBRARY_PATH="${BOOST_ROOT}/lib"; fi
# c++ is a symlink to clang++, but the compiler behaves differently when invoked as c++
- if [ "${TRAVIS_OS_NAME}" = "osx" -a "${CXX}" = "clang++" ]; then export CXX="$(which c++)"; export CC="$(which cc)"; fi