]> git.saurik.com Git - apt.git/blob - .travis.yml
CMake: Exclude .md5 and .map doxygen files from install
[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 ./prepare-release travis-ci
13 - sudo apt-get -qq -y -t wily install gettext liblz4-dev python3-apt
14 - sudo apt-get -qq -y -t xenial install cmake
15 before_script:
16 - ( mkdir build && cd build && cmake .. )
17 - make -C build -j4
18 script:
19 - make -C build test
20 - ./test/integration/run-tests -q
21 - sudo adduser --force-badname --system --home /nonexistent --no-create-home --quiet _apt || true
22 - sudo ./test/integration/run-tests -q
23 - make -C build install DESTDIR=$PWD/rootdir
24 - find rootdir -print0 | xargs -0 ls -ld