-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
45 lines (40 loc) · 1.08 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
language: c
matrix:
include:
- os: linux
dist: trusty
compiler: gcc
sudo: required
addons:
apt:
packages:
- libcurl4-openssl-dev
- os: linux
compiler: gcc
sudo: required
addons:
apt:
packages:
- libcurl4-openssl-dev
- os: osx
osx_image: xcode8.3
- os: osx
osx_image: xcode7.3
before_install:
- test -n $CC || export CC=gcc
- if [ ${TRAVIS_OS_NAME} = 'osx' ]; then
brew update;
brew install pcre2;
elif [ ${TRAVIS_OS_NAME} = 'linux' ]; then
wget https://sourceforge.net/projects/pcre/files/pcre2/10.23/pcre2-10.23.tar.gz;
tar xzvf pcre2-10.23.tar.gz;
pushd pcre2-10.23 && ./configure --prefix=/usr && make && sudo make install && popd;
fi
script:
- make all
notifications:
email:
recipients:
on_success: change
on_failure: always