]> git.saurik.com Git - apt.git/blame_incremental - .travis.yml
mmap: Define _DEFAULT_SOURCE instead of _BSD_SOURCE
[apt.git] / .travis.yml
... / ...
CommitLineData
1language: cpp
2sudo: required
3before_install:
4 - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
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'
8 - sudo apt-get update -qq
9install:
10 - sudo ./prepare-release travis-ci
11 - sudo apt-get -qq -y install gcc-4.8 g++-4.8
12 - sudo apt-get -qq -y -t vivid install gettext
13 - export CC=gcc-4.8 CXX=g++-4.8
14 - make
15script:
16 - make test
17 - ./test/integration/run-tests -q
18 - sudo adduser --force-badname --system --home /nonexistent --no-create-home --quiet _apt || true
19 - sudo ./test/integration/run-tests -q