]> git.saurik.com Git - apt.git/blob - .travis.yml
warn if apt-key is run unconditionally in maintainerscript
[apt.git] / .travis.yml
1 language: cpp
2 sudo: required
3 dist: trusty
4 before_install:
5 - sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu/ wily main universe' -y
6 - |
7 sudo sh -c '/bin/echo -e "Package: *\nPin: release n=wily\nPin-Priority: 1" > /etc/apt/preferences.d/wily'
8 - sudo apt-get update -qq
9 install:
10 - sudo ./prepare-release travis-ci
11 - sudo apt-get -qq -y -t wily install gettext liblz4-dev python3-apt
12 - make
13 script:
14 - make test
15 - ./test/integration/run-tests -q
16 - sudo adduser --force-badname --system --home /nonexistent --no-create-home --quiet _apt || true
17 - sudo ./test/integration/run-tests -q