Browse Source

travis: use gcc-5 instead of gcc(-4.9)

The std::put_time and std::get_time introduced in
9febc2b238 are part of C++11, but not
implemented in GCC until version 5. std::put_time could actually be
worked around via using the facets put() directly, but get() isn't
implemented so that doesn't really help.

We require various tools from wily (which also means we can't build apt
on Debian stable) already, so requiring gcc-5 is just one more instead
of a big step [and an ignoreable change for changelog anyhow].

It also helps in testing what will actually be used (in terms of the
c++11 std ABI) instead of the old ABI.

Git-Dch: Ignore
tags/debian/1.3_exp2
David Kalnischkies 5 years ago
parent
commit
2b8221d66a
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      .travis.yml

+ 3
- 1
.travis.yml View File

@@ -3,13 +3,15 @@ sudo: required
dist: trusty
before_install:
- sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu/ wily main universe' -y
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- |
sudo sh -c '/bin/echo -e "Package: *\nPin: release n=wily\nPin-Priority: 1" > /etc/apt/preferences.d/wily'
- sudo apt-get update -qq
install:
- sudo ./prepare-release travis-ci
- sudo apt-get -qq -y -t wily install gettext liblz4-dev python3-apt
- make
- sudo apt-get -qq -y install gcc-5 g++-5
- CC=gcc-5 CXX=g++-5 make
script:
- make test
- ./test/integration/run-tests -q


Loading…
Cancel
Save