forked from ludocode/mpack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (38 loc) · 1.22 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
language: c
dist: bionic
sudo: false
# apparently apt addon doesn't work on bionic?
before_install:
- sudo apt-get update
- sudo apt-get install -y build-essential gcc-multilib g++-multilib clang cmake lua5.1 luarocks ninja-build libc6-dbg:i386 tcc valgrind
- CC= CXX= sudo luarocks install luafilesystem
- CC= CXX= sudo luarocks install rapidjson
script: tools/ci.sh
compiler:
- clang
- gcc
- scan-build
env:
- AMALGAMATED=1
- STANDARD=1
matrix:
include:
# osx build
- os: osx
compiler: clang
env: "OSX=1"
# disable before_install here to avoid apt-get on mac
before_install:
# code coverage build
- os: linux
compiler: gcov
env: "STANDARD=1"
before_install:
- sudo apt-get update
# these packages are needed for urllib3[secure] for SNI support for
# coveralls integration
- sudo apt-get install -y python-dev libffi-dev libssl-dev
# the rest of this is copied from above
- sudo apt-get install -y build-essential gcc-multilib g++-multilib clang cmake lua5.1 luarocks ninja-build libc6-dbg:i386 tcc valgrind
- CC= CXX= sudo luarocks install luafilesystem
- CC= CXX= sudo luarocks install rapidjson