]> git.saurik.com Git - apt.git/blob - .travis.yml
tavis: run testcases a second time, but as root
[apt.git] / .travis.yml
1 language: cpp
2 sudo: required
3 before_install:
4 - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
5 - sudo apt-get update -qq
6 install:
7 - sudo ./prepare-release travis-ci
8 - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
9 - sudo apt-get -qq update
10 - sudo apt-get -qq -y install gcc-4.8 g++-4.8
11 - export CC=gcc-4.8 CXX=g++-4.8
12 script:
13 - make
14 - make test
15 - ./test/integration/run-tests
16 - sudo adduser --force-badname --system --home /nonexistent --no-create-home --quiet _apt || true
17 - sudo ./test/integration/run-tests