]> git.saurik.com Git - apt.git/blob - .travis.yml
drop privileges in copy:// method as we do for file://
[apt.git] / .travis.yml
1 language: cpp
2 sudo: required
3 before_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
9 install:
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
15 script:
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