]>
Commit | Line | Data |
---|---|---|
db0e2486 | 1 | language: cpp |
b2640c0a | 2 | sudo: required |
6a778e35 | 3 | dist: trusty |
db0e2486 | 4 | before_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 | 11 | install: |
d382a0e4 | 12 | - sudo ./prepare-release travis-ci |
0390edd5 | 13 | - sudo apt-get -qq -y -t wily install gettext liblz4-dev python3-apt |
dfd863ea JAK |
14 | - sudo apt-get -qq -y -t xenial install cmake |
15 | before_script: | |
16 | - ( mkdir build && cd build && cmake .. ) | |
17 | - make -C build -j4 | |
fa74b4ec | 18 | script: |
712ccb8f | 19 | - ./test/integration/run-tests -q |
b2640c0a | 20 | - sudo adduser --force-badname --system --home /nonexistent --no-create-home --quiet _apt || true |
712ccb8f | 21 | - sudo ./test/integration/run-tests -q |
dfd863ea JAK |
22 | - make -C build install DESTDIR=$PWD/rootdir |
23 | - find rootdir -print0 | xargs -0 ls -ld |