]>
Commit | Line | Data |
---|---|---|
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 ppa:ubuntu-toolchain-r/test -y | |
7 | - | | |
8 | sudo sh -c '/bin/echo -e "Package: *\nPin: release n=wily\nPin-Priority: 1" > /etc/apt/preferences.d/wily' | |
9 | - sudo apt-get update -qq | |
10 | install: | |
11 | - sudo ./prepare-release travis-ci | |
12 | - sudo apt-get -qq -y -t wily install gettext liblz4-dev python3-apt | |
13 | - sudo apt-get -qq -y install gcc-5 g++-5 | |
14 | - CC=gcc-5 CXX=g++-5 make | |
15 | script: | |
16 | - make test | |
17 | - ./test/integration/run-tests -q | |
18 | - sudo adduser --force-badname --system --home /nonexistent --no-create-home --quiet _apt || true | |
19 | - sudo ./test/integration/run-tests -q |