]> git.saurik.com Git - apt.git/blame - .travis.yml
CMake: Fix uninitialized variables
[apt.git] / .travis.yml
CommitLineData
db0e2486 1language: cpp
b2640c0a 2sudo: required
6a778e35 3dist: trusty
db0e2486 4before_install:
d4cfc248 5 - sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu/ wily main universe' -y
dfd863ea 6 - sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu/ xenial main' -y
e7cab38e 7 - |
d4cfc248 8 sudo sh -c '/bin/echo -e "Package: *\nPin: release n=wily\nPin-Priority: 1" > /etc/apt/preferences.d/wily'
dfd863ea 9 sudo sh -c '/bin/echo -e "Package: *\nPin: release n=xenial\nPin-Priority: 1" > /etc/apt/preferences.d/xenial'
b2640c0a 10 - sudo apt-get update -qq
3261271e 11install:
0390edd5 12 - sudo apt-get -qq -y -t wily install gettext liblz4-dev python3-apt
dfd863ea 13 - sudo apt-get -qq -y -t xenial install cmake
ecb8e9d7 14 - sudo ./prepare-release travis-ci
dfd863ea
JAK
15before_script:
16 - ( mkdir build && cd build && cmake .. )
17 - make -C build -j4
fa74b4ec 18script:
ecaae01f 19 - CTEST_OUTPUT_ON_FAILURE=1 make -C build test
712ccb8f 20 - ./test/integration/run-tests -q
b2640c0a 21 - sudo adduser --force-badname --system --home /nonexistent --no-create-home --quiet _apt || true
712ccb8f 22 - sudo ./test/integration/run-tests -q
dfd863ea
JAK
23 - make -C build install DESTDIR=$PWD/rootdir
24 - find rootdir -print0 | xargs -0 ls -ld