-
Notifications
You must be signed in to change notification settings - Fork 75
/
Copy path.travis.yml
46 lines (37 loc) · 879 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
dist: bionic
language: c
os:
- linux
addons:
apt:
packages:
- automake
- debootstrap
- fakeroot
- gcc-8
- libjemalloc1
- libtool
- lsb-release
- openjdk-8-jdk-headless
- openjdk-11-jdk-headless
before_script:
- lsb_release -a
- $TRAVIS_CC --version
script:
- ./autogen.sh
- ./configure CC=$TRAVIS_CC
- make V=1
- make test
env:
global:
- GCC_COLORS=error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01
- TEST_DEBOOTSTRAP=1
- TEST_DEBOOTSTRAP_CACHE=cache
matrix:
- TRAVIS_CC=gcc EXTRA_CFLAGS='-Wall -Werror -fdiagnostics-color=always'
- TRAVIS_CC=gcc-8 EXTRA_CFLAGS='-Wall -Werror -fdiagnostics-color=always'
- TRAVIS_CC=clang EXTRA_CFLAGS='-Wall -Werror'
- TRAVIS_CC=clang EXTRA_CFLAGS='-std=c11 -Wall -Werror'
cache:
directories:
- test/cache