forked from OpenCPN/OpenCPN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
76 lines (64 loc) · 1.75 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
72
73
74
75
76
language: cpp
matrix:
include:
- env:
- OCPN_TARGET=xenial
dist: xenial
compiler: gcc
script:
- ./ci/travis-build-debian.sh
- env:
- OCPN_TARGET=trusty
dist: trusty
compiler: gcc
script:
- ./ci/travis-build-debian.sh
- env:
- OCPN_TARGET=osx
os: osx
osx_image: xcode10.2
compiler: clang
script:
- ./ci/travis-build-osx.sh
- env:
- OCPN_TARGET=mingw
services:
- docker
script:
- ./ci/travis-build-mingw.sh
before_install:
- >
echo -n | openssl s_client -connect https://scan.coverity.com:443
| sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p'
| sudo tee -a /etc/ssl/certs/ca
before_deploy:
- >
openssl aes-256-cbc -K $encrypted_831747f1d3db_key
-iv $encrypted_831747f1d3db_iv -in deploy_rsa.enc -out
/tmp/deploy_rsa -d
- eval "$(ssh-agent -s)"
- chmod 600 /tmp/deploy_rsa
- ssh-add /tmp/deploy_rsa
deploy:
provider: script
skip_cleanup: true
script:
- if [ "$OCPN_TARGET" = "osx" ]; then scp -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null $TRAVIS_BUILD_DIR/build/*.dmg [email protected]:files/; fi
on:
branch: master
tags: false
notifications:
email: false
git:
depth: 10
env:
- secure: "KC+tdCF5pSgrguqDcU3ZIzt6qxhu35aSGQYOJnsXFrC7XN7ACVCsb6kxjboAAoStvKuVy89OZLy6vdFpoZ+sHv0RtguV0RO70IX/A6m5PYAvnAXRSdCWoR4EfaV3UhN6hjTLGD2Wy6Hdkave9tt4IWeM8tAi/wvtbfE012ra4jU="
addons:
coverity_scan:
project:
name: "OpenCPN/OpenCPN"
description: "OpenCPN"
notification_email: [email protected]
build_command_prepend: "mkdir -p build; cd build; cmake ..; make clean"
build_command: "make"
branch_pattern: coverity_scan