forked from OpenCPN/OpenCPN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
71 lines (69 loc) · 1.65 KB
/
.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
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: cpp
matrix:
# https://github.com/travis-ci/travis-conditions
include:
- if: branch IN (master, plugins, plugins-build)
env:
- OCPN_TARGET=focal-gtk3
- EXTRA_BUILD_OPTS="-DOCPN_FORCE_GTK3=ON"
dist: focal
compiler: gcc
script:
- "./ci/generic-build-debian.sh"
- if: branch IN (master, plugins, plugins-build)
env:
- OCPN_TARGET=bionic
- EXTRA_BUILD_OPTS="-DOCPN_FORCE_GTK3=OFF"
dist: bionic
compiler: gcc
script:
- "./ci/generic-build-debian.sh"
- if: branch IN (master, plugins, plugins-build)
env:
- OCPN_TARGET=bionic-gtk3
- EXTRA_BUILD_OPTS="-DOCPN_FORCE_GTK3=ON"
dist: bionic
compiler: gcc
script:
- "./ci/generic-build-debian.sh"
- if: branch IN (master, plugins, plugins-build)
env:
- OCPN_TARGET=xenial
dist: xenial
compiler: gcc
script:
- "./ci/generic-build-debian.sh"
- if: branch = flatpak
env:
- OCPN_TARGET=flatpak
before_install:
- "./ci/docker-auth.sh"
services:
- docker
script:
- "./ci/circleci-build-flatpak.sh"
before_install:
- |
echo -n \
| openssl s_client -connect scan.coverity.com:443 \
| sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' \
| sudo tee -a /etc/ssl/certs/ca
deploy:
provider: script
skip_cleanup: true
script: ci/generic-upload.sh
on:
branch: master
tags: false
notifications:
email: false
git:
depth: 10
addons:
coverity_scan:
project:
name: OpenCPN/OpenCPN
notification_email: [email protected]
build_command_prepend: mkdir -p build; cd build; cmake ..; make clean
build_command: make
branch_pattern: coverity_scan