blob: 6eaf0a92d7ddb322e8bcf312a9e8e7146090d671 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
language: c
os:
- linux
- linux-ppc64le
# NB: This is just the distro used for the container host
dist: bionic
services: docker
cache: ccache
env:
jobs:
- RUN_ON_CONTAINER=ubuntu-18.04
- RUN_ON_CONTAINER=ubuntu-20.04
- RUN_ON_CONTAINER=ubuntu-latest
- RUN_ON_CONTAINER=centos7
- RUN_ON_CONTAINER=fedora32
- RUN_ON_CONTAINER=fedora-rawhide
- RUN_ON_CONTAINER=debian-unstable
- RUN_ON_CONTAINER=docs
jobs:
allow_failures:
- env: RUN_ON_CONTAINER=fedora-rawhide
- env: RUN_ON_CONTAINER=debian-unstable
- env: RUN_ON_CONTAINER=ubuntu-latest
- env: RUN_ON_CONTAINER=clang
exclude:
- os: linux-ppc64le
env: RUN_ON_CONTAINER=centos7
- os: linux-ppc64le
env: RUN_ON_CONTAINER=docs
- os: linux-ppc64le
env: RUN_ON_CONTAINER=clang
install:
- docker build --pull -t ${RUN_ON_CONTAINER} -f opal-ci/Dockerfile-${RUN_ON_CONTAINER} .
- mkdir -p ci_build_cache/${RUN_ON_CONTAINER}
script:
- >
docker run
--security-opt seccomp=unconfined
--volume $HOME/.ccache:/root/.ccache
--volume `pwd`:/build
--volume `pwd`/ci_build_cache/${RUN_ON_CONTAINER}:/root/ci_build_cache/
--tmpfs /tmp/
--rm -t $RUN_ON_CONTAINER
bash -c "./opal-ci/build-${RUN_ON_CONTAINER}.sh"
# apparently this needs to be in the master branch in order for it to work on
# other branches too.
addons:
coverity_scan:
project:
name: "open-power/skiboot"
description: "Build submitted via Travis CI"
notification_email: oohall@gmail.com
branch_pattern: coverity_scan
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN # set in travis-ci.org dashboard, marked secure
local_dir: "doc/_build/ghpages"
on:
branch: master
condition: "$RUN_ON_CONTAINER = docs"
|