]> git.saurik.com Git - apt.git/blob - .travis.yml
test, travis: Quieter testing with a new -qq mode
[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 - sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu/ xenial main' -y
7 - |
8 sudo sh -c '/bin/echo -e "Package: *\nPin: release n=wily\nPin-Priority: 1" > /etc/apt/preferences.d/wily'
9 sudo sh -c '/bin/echo -e "Package: *\nPin: release n=xenial\nPin-Priority: 1" > /etc/apt/preferences.d/xenial'
10 - sudo apt-get update -qq
11 install:
12 - sudo apt-get -qq -y -t wily install gettext liblz4-dev python3-apt
13 - sudo apt-get -qq -y -t xenial install cmake
14 - sudo ./prepare-release travis-ci
15 before_script:
16 - ( mkdir build && cd build && cmake .. )
17 - make -C build -j4
18 script:
19 - CTEST_OUTPUT_ON_FAILURE=1 make -C build test
20 - chronic make -C build install DESTDIR=$PWD/rootdir
21 - ./test/integration/run-tests -qq
22 - sudo adduser --force-badname --system --home /nonexistent --no-create-home --quiet _apt || true
23 - sudo ./test/integration/run-tests -qq