summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 492576495136ab2d3951f83cfd6a5f6a118f7d90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
language: c

os: linux-ppc64le
dist: bionic

sudo: required

services: docker

env:
    matrix:
    - RUN_ON_CONTAINER=fedora-33
    - RUN_ON_CONTAINER=ubuntu-20.04

install:
    - docker build --pull -t ${RUN_ON_CONTAINER} -f ppc64-diag-ci/Dockerfile-${RUN_ON_CONTAINER} .

script:
    - >
      docker run
      --security-opt seccomp=unconfined
      --volume $HOME/.ccache:/root/.ccache
      --volume `pwd`:/build
      --tmpfs /tmp/
      --rm -t $RUN_ON_CONTAINER
      bash -c "./ppc64-diag-ci/build-${RUN_ON_CONTAINER}.sh";