-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
53 lines (45 loc) · 826 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
46
47
48
49
50
51
52
53
dist: xenial
language: c
env:
global:
# Environment variables for ccache
- CCACHE_COMPRESS=1
- CCACHE_SLOPPINESS=time_macros,file_macro
- CCACHE_BASEDIR="$TRAVIS_BUILD_DIR"
jobs:
include:
- stage: baseline
os: linux
compiler: clang-4.0
- os: linux
compiler: gcc
- stage: second stage
os: osx
compiler: clang
osx_image: xcode10.2 # macOS 10.14
- os: osx
compiler: gcc
osx_image: xcode10.2 # macOS 10.14
fast_finish: true
script:
ci/script.sh
addons:
apt:
packages:
- autoconf
- automake
- build-essential
- clang-4.0
- pkg-config
homebrew:
update: true
packages:
- ccache
branches:
only:
- master
- /^release-\d+\.\d+$/
- autoconf
cache:
apt: true
ccache: true