-
Notifications
You must be signed in to change notification settings - Fork 53
/
.travis.yml
149 lines (139 loc) · 3.6 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
language: c
sudo: false
dist: trusty
branches:
except:
- /^(wip\/)?(appveyor|msvc|mingw|windows)(\-.+)?$/
- /^master$/
matrix:
include:
####
## GCC
####
- compiler: gcc-6
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-6
- g++-6
coverity_scan:
project:
name: quixdb/squash
derscription: Squash Compression Abstraction Library
build_command_prepend: ./.travis.sh configure
build_command: ./.travis.sh make
branch_pattern: coverity_scan
- compiler: gcc-5
env: BUILD_TYPE=coverage
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
- g++-5
- lcov
- compiler: gcc-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
- compiler: gcc-4.6
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.6
- g++-4.6
# - compiler: gcc-4.4
# addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# packages:
# - gcc-4.4
# - g++-4.4
####
## clang
####
# - compiler: clang-3.9
# addons:
# apt:
# sources:
# - llvm-toolchain-precise-3.9
# - ubuntu-toolchain-r-test
# packages:
# - clang-3.9
- compiler: clang-3.8
env: BUILD_TYPE=asan
addons:
apt:
sources:
- llvm-toolchain-precise-3.8
- ubuntu-toolchain-r-test
packages:
- clang-3.8
- compiler: clang-3.7
addons:
apt:
sources:
- llvm-toolchain-precise-3.7
- ubuntu-toolchain-r-test
packages:
- clang-3.7
- compiler: clang-3.5
addons:
apt:
sources:
- llvm-toolchain-precise-3.5
- ubuntu-toolchain-r-test
packages:
- clang-3.5
# ####
# ## OS X
# ####
# - os: osx
# compiler: gcc-5
####
## mingw
####
- env: RC_COMPILER=x86_64-w64-mingw32-windres CROSS_COMPILE=yes
compiler: x86_64-w64-mingw32-gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- binutils-mingw-w64-x86-64
- g++-mingw-w64-x86-64
- gcc-mingw-w64-x86-64
- binutils-mingw-w64-x86-64
global:
# Coveralls.io
- secure: "QDuBYD70tDc+2v4WdNEbmv4BE/jVHrDp9QZ+a7ZYPgnUe5hRnKfKSOhsuzGDRkMBnrJFbaeFITrGY7WQKcwLcMxKq11/Lk6Of9ai+TxN4VY+p1yt3Poz/7pDg7bVTPepnEgVUjjLQC8UoGXo7jaLscqJuU3vAl/LVQ9igC8TwKQ="
# Coverity Scan
- secure: "GkdtM9uoDVQoJ0h5BNrwGwURPYWvBm/7wcgqrrrqAu3AB+/MkAsUVzIs+Y9+iGOB8WrkOLEHC0+bD/Zhr1YfDa6MKhnP+GhFknfB8bIND+hEhYaRi7521evQOkZQU5RYXXl6QFdlhTNxkWDZdctlrXWIHWu6SagAsJUrBbPWAtY="
# Intel C Compiler
- secure: "QhS53AneaQ0zCgm5XNci7aq8AgQCRFtOLVMYIbjyxvTi6zuGLXFjA6l0SkMTsRfdb4QMdnmrE0d1haRxEAD5ldYj+UBbgv6gEm8uwHap2l7zl9tSPddxqB3F145+UWgXAAx85AxmkXLc3oIg58MMk5WzpF7eTz19JfxoBbBB+Cg="
before_install:
- if [ "${BUILD_TYPE}" = "coverage" ]; then pip install --user cpp-coveralls; fi
install:
- ./.travis.sh configure
- source ~/.bashrc # For ICC
- ./.travis.sh make
script:
- if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then ./.travis.sh test; fi
notifications:
irc:
channels:
- "chat.freenode.net#squash"
on_success: change
on_failure: always
use_notice: true
skip_join: true