]> git.saurik.com Git - apt.git/blame - .travis.yml
move 'unmet' handling into libapt-private
[apt.git] / .travis.yml
CommitLineData
db0e2486 1language: cpp
b2640c0a 2sudo: required
db0e2486 3before_install:
3261271e 4 - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
e7cab38e
JAK
5 - sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu/ vivid main' -y
6 - |
7 sudo sh -c '/bin/echo -e "Package: *\nPin: release n=vivid\nPin-Priority: 1" > /etc/apt/preferences.d/vivid'
b2640c0a 8 - sudo apt-get update -qq
3261271e 9install:
d382a0e4 10 - sudo ./prepare-release travis-ci
b2640c0a 11 - sudo apt-get -qq -y install gcc-4.8 g++-4.8
e7cab38e 12 - sudo apt-get -qq -y -t vivid install gettext
b2640c0a 13 - export CC=gcc-4.8 CXX=g++-4.8
b2640c0a 14 - 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