forked from Corvusoft/restbed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (42 loc) · 921 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
dist: trusty
sudo: false
language: cpp
matrix:
include:
- os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env:
- COMPILERCXX="g++-5"
- COMPILERC="gcc-5"
- OPENSSL_VERSION=openssl-1.1.0
- os: linux
compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5 #libstdc++5 required
- os: osx
compiler: gcc
- os: osx
compiler: clang
before_script:
- if [ -n "$COMPILERC" ]; then export CC=$COMPILERC; fi
- if [ -n "$COMPILERCXX" ]; then export CXX=$COMPILERCXX; fi
- mkdir build
- cd build
- cmake -DBUILD_SSL=NO ..
script: make -j3 && make test
notifications:
recipients:
email:
on_success: change
on_failure: always