-
Notifications
You must be signed in to change notification settings - Fork 162
/
.travis.yml
45 lines (36 loc) · 983 Bytes
/
.travis.yml
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
sudo: required
language: none
services:
- docker
matrix:
include:
- env: CI_DISTRO=focal CI_TARGET=debug
- env: CI_DISTRO=focal CI_TARGET=release
after_success: touch build-release/doc/html/.nojekyll
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: build-release/doc/html
on:
branch: master
- env: CI_DISTRO=focal CI_TARGET=release
- env: CI_DISTRO=focal CI_TARGET=coverage
after_success: bash <(curl -s https://codecov.io/bash) -g "*/test/*"
- env: CI_DISTRO=focal CI_TARGET=lint
before_install:
- sudo apt-get update
install:
- sudo apt-get install -y bash curl
before_script:
- docker build
-t worker
-f $TRAVIS_BUILD_DIR/.ci/Dockerfile.$CI_DISTRO
$TRAVIS_BUILD_DIR/.ci
script:
- docker run
--cap-add SYS_PTRACE
-u "$(id -u):$(id -g)"
-w /workspace
-v $TRAVIS_BUILD_DIR:/workspace
worker .ci/$CI_TARGET.sh