-
Notifications
You must be signed in to change notification settings - Fork 502
/
.travis.yml
122 lines (122 loc) · 3 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
language: cpp
dist: bionic
branches:
except:
- latest-passing-build
jobs:
include:
- stage: build & test
compiler: clang
os: osx
env: BUILD=cmake CPP_STD=17
addons:
apt:
packages:
- libc++-dev
- compiler: gcc
os: osx
env: BUILD=cmake CPP_STD=14
- compiler: gcc
os: osx
env: BUILD=autotools
addons:
apt:
packages:
- valgrind
- compiler: clang
env: BUILD=autotools
os: osx
addons:
apt:
packages:
- libc++-dev
- valgrind
- compiler: clang
env: BUILD=cmake CPP_STD=98
addons:
apt:
packages:
- libc++-dev
- compiler: clang
env: BUILD=cmake CPP_STD=11
addons:
apt:
packages:
- libc++-dev
- compiler: clang
env: BUILD=cmake CPP_STD=14
addons:
apt:
packages:
- libc++-dev
- compiler: clang
env: BUILD=cmake CPP_STD=17
addons:
apt:
packages:
- libc++-dev
- compiler: gcc
env: BUILD=cmake CPP_STD=98
- compiler: gcc
env: BUILD=cmake CPP_STD=11
- compiler: gcc
env: BUILD=cmake CPP_STD=14
- compiler: gcc
env: BUILD=cmake CPP_STD=17
- compiler: gcc
env: BUILD=autotools_cmake_install_test
- compiler: gcc
env: BUILD=autotools
addons:
apt:
packages:
- valgrind
- compiler: clang
env: BUILD=autotools
addons:
apt:
packages:
- libc++-dev
- valgrind
- compiler: gcc
env: BUILD=cmake_coverage
- compiler: gcc
env: BUILD=cmake_gtest
- env: BUILD=make_dos
addons:
apt:
packages:
- dosbox
- env: BUILD=docker_ubuntu_autotools
- env: BUILD=docker_ubuntu_gcc10
- stage: Final Build
env: BUILD=autotools
- if: "(NOT type IN (pull_request)) AND (branch = master)"
stage: Deploy
script:
- git tag -f latest-passing-build -a -m "Generated tag from TravisCI for build $TRAVIS_BUILD_NUMBER"
- git push -f https://cpputest-travis:$GH_TOKEN@github.com/cpputest/cpputest.git --tags
deploy:
provider: releases
token: $GH_TOKEN
tag_name: latest-passing-build
name: Latest passing build
release_notes: This is the automatic release from Travis CI. Whenever a build
passes, it gets released as Latest Passing Build.
on:
tags: false
before_script:
- export CPPUTEST_BUILD_DIR=$TRAVIS_BUILD_DIR/cpputest_build
- mkdir -p $CPPUTEST_BUILD_DIR && cd $CPPUTEST_BUILD_DIR
script:
- "../scripts/travis_ci_build.sh"
after_failure:
- "../scripts/travis_ci_after.sh"
after_success:
- "../scripts/travis_ci_after.sh"
notifications:
slack:
secure: oOx4AGIiJB+j1pkIxlLeQh5qp7TF89Sj+3RzJRQuo6z0HocTz9yJgXPlDh1H9rLj5SxK/UKsk+WFafVuPdWakQ40LeYO49C/+e+mCDcS0ujLka6dvIE8v0SEb1PuaAGjJWdhiviAhSqu9YOKPYZs37lD3oqepuEpxeiXwsur9QU=
env:
global:
secure: H6djbn5YP1P62n//ergaRZ4lIkneCzWp1Ok4F71kvvNiwlRzYDGll4kJT6MhVq6bBHeR81W/lwUd+RdjyqsJpVhj7DHXC/0k0h0xpAAm7LUhOl+6mIII1uhcMFqbeHvilwvDCzTQ6qv8Mzd1g0QfUECrmti9/U+/TTFJG0r0Zuc=