forked from mar-file-system/GUFI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
175 lines (166 loc) · 4.8 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
language: c
git:
depth: 5
stages:
- build_and_test
- deploy
matrix:
include:
# Ubuntu Xenial
- stage: build_and_test
os: linux
sudo: false
dist: xenial
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-xenial-7
packages:
- attr
- cmake
- clang-7
- libattr1-dev
- libfuse-dev
- libpcre3-dev
- uuid-dev
update: true
env:
- C_COMPILER=clang-7
- CXX_COMPILER=clang++-7
- BUILD=cmake
script: contrib/travis/xenial.sh
# OpenSUSE 12.3 + Tumbleweed Repo
- stage: build_and_test
os: linux
sudo: true
dist: xenial
addons:
apt:
update: false
services: docker
env:
- C_COMPILER=clang-7
- CXX_COMPILER=clang++-7
- BUILD=cmake
- DOCKER_IMAGE=saltstack/opensuse-12.3-minimal
script: contrib/travis/suse12.3.sh
# CentOS 7
- stage: build_and_test
os: linux
sudo: true
dist: xenial
addons:
apt:
update: false
services: docker
env:
- C_COMPILER=clang
- CXX_COMPILER=clang++
- BUILD=cmake
- DOCKER_IMAGE=centos
script: contrib/travis/centos7.sh
# macOS 10.13 CMake
- stage: build_and_test
os: osx
osx_image: xcode10.1
sudo: false
addons:
homebrew:
packages:
- cmake
- llvm@7
- mysql
- ossp-uuid
- pcre
- sqlite3
- truncate
update: true
env:
- C_COMPILER=clang
- CXX_COMPILER=clang++
- BUILD=cmake
- FORMULAE=llvm@7
script: contrib/travis/osx.sh
# macOS 10.13 make
- stage: build_and_test
os: osx
osx_image: xcode10.1
sudo: false
addons:
homebrew:
packages:
- cmake
- llvm@7
- mysql
- ossp-uuid
- pcre
- sqlite3
- truncate
update: true
env:
- C_COMPILER=clang
- CXX_COMPILER=clang++
- BUILD=make
- FORMULAE=llvm@7
script: contrib/travis/osx.sh
# # Upload a tarball if the job was triggered by cron
# - stage: deploy
# os: linux
# sudo: false
# dist: xenial
# addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# - llvm-toolchain-xenial-7
# packages:
# - attr
# - bsd-mailx
# - cmake
# - clang-7
# - libattr1-dev
# - libfuse-dev
# - libpcre3-dev
# - uuid-dev
# update: true
# script:
# - true
# deploy:
# provider: script
# skip-cleanup: true
# script: bash contrib/travis/deploy.sh
# on:
# branch: master
# condition: ("${TRAVIS_EVENT_TYPE}" = "cron")
# tags: false
# Upload a tarball if the job was triggered by a user
- stage: deploy
os: linux
sudo: false
dist: xenial
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-xenial-7
packages:
- attr
- bsd-mailx
- cmake
- clang-7
- libattr1-dev
- libfuse-dev
- libpcre3-dev
- uuid-dev
update: true
script:
- true
deploy:
provider: script
skip-cleanup: true
script: bash contrib/travis/deploy.sh
on:
all_branches: true
condition: ("${TRAVIS_EVENT_TYPE}" = "api")
tags: false