]> git.saurik.com Git - apt.git/blame - .travis.yml
travis: use gcc-5 instead of gcc(-4.9)
[apt.git] / .travis.yml
CommitLineData
db0e2486 1language: cpp
b2640c0a 2sudo: required
6a778e35 3dist: trusty
db0e2486 4before_install:
d4cfc248 5 - sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu/ wily main universe' -y
2b8221d6 6 - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
e7cab38e 7 - |
d4cfc248 8 sudo sh -c '/bin/echo -e "Package: *\nPin: release n=wily\nPin-Priority: 1" > /etc/apt/preferences.d/wily'
b2640c0a 9 - sudo apt-get update -qq
3261271e 10install:
d382a0e4 11 - sudo ./prepare-release travis-ci
0390edd5 12 - sudo apt-get -qq -y -t wily install gettext liblz4-dev python3-apt
2b8221d6
DK
13 - sudo apt-get -qq -y install gcc-5 g++-5
14 - CC=gcc-5 CXX=g++-5 make
fa74b4ec 15script:
b2640c0a 16 - make test
712ccb8f 17 - ./test/integration/run-tests -q
b2640c0a 18 - sudo adduser --force-badname --system --home /nonexistent --no-create-home --quiet _apt || true
712ccb8f 19 - sudo ./test/integration/run-tests -q