summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: c53bcf620225188c0c3f33e1461c2fc46ee45084 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
language: cpp
sudo: required
services:
  - docker
env:
 - USER=travis
 - USER=root
install:
 - sed -i -e "s#1000#$(id -u)#g" Dockerfile
 - docker build --tag=apt-ci .
before_script:
 - docker run --rm -w $PWD -v $HOME/.ccache:$HOME/.ccache -v $PWD:$PWD --user=travis apt-ci make
script:
 - docker run --rm -w $PWD -v $PWD:$PWD --user=travis apt-ci env make test
 - docker run --rm -w $PWD -v $PWD:$PWD --user=$USER --tmpfs /tmp:suid,exec apt-ci unbuffer ./test/integration/run-tests