-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
71 lines (62 loc) · 1.26 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
language: c
sudo: false
branches:
only:
- master
cache: apt
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- gcc-5
- gcc-6
- libnss3-dev
- libtool
env:
- MATRIX_EVAL="true"
matrix:
include:
- os: linux
compiler: clang
- os: linux
compiler: gcc-4.8
- os: linux
compiler: gcc-5
- os: linux
compiler: gcc-6
- os: osx
compiler: clang
osx_image: xcode6.2
- os: osx
compiler: clang
osx_image: xcode7.3
- os: osx
compiler: clang
osx_image: xcode8
- os: osx
compiler: gcc-6
env:
- MATRIX_EVAL="brew install gcc6 && CC=gcc-6 && CXX=g++-6"
osx_image: xcode8
- os: osx
compiler: clang
osx_image: xcode9
before_install:
- if [ $TRAVIS_OS_NAME == osx ] ; then
brew update ;
brew upgrade ;
eval "${MATRIX_EVAL}" ;
brew install nss openssl automake autoconf libtool pkg-config $INSTALL || true ;
fi
before_script:
- $CC --version
script:
- autoreconf --install --force --verbose -I m4
- if [ $TRAVIS_OS_NAME == osx ] ; then ./configure --with-openssl=/usr/local/Cellar/openssl/* ; fi
- if [ $TRAVIS_OS_NAME == linux ] ; then ./configure ; fi
- make V=1
- make test
after_script:
- make test-clean