forked from zlib-ng/zlib-ng
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
29 lines (29 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
language: c
compiler:
- gcc
- clang
dist: trusty
install:
- sudo apt-get update
- sudo apt-get install gcc-multilib
env:
global:
- CODECOV_TOKEN=3dec9d4f-9aca-4e19-874f-3d81cdb3f42d
matrix:
- BUILDDIR=. TOOL="./configure --cover --warn"
- BUILDDIR=. TOOL="./configure --cover --warn --asserts"
- BUILDDIR=. TOOL="./configure --cover --warn --native"
- BUILDDIR=. TOOL="./configure --cover --warn --zlib-compat"
- BUILDDIR=. TOOL="./configure --cover --warn --zlib-compat --without-optimizations --without-new-strategies"
- BUILDDIR=. TOOL="./configure --warn --32"
- BUILDDIR=../build TOOL="../zlib-ng/configure"
- BUILDDIR=. TOOL="cmake ."
- BUILDDIR=. TOOL="cmake -DWITH_NATIVE_INSTRUCTIONS=on ."
- BUILDDIR=. TOOL="cmake -DZLIB_COMPAT=on ."
- BUILDDIR=. TOOL="cmake -DZLIB_COMPAT=on -DWITH_OPTIM=off -DWITH_NEW_STRATEGIES=off ."
- BUILDDIR=. TOOL="cmake -DUSE_32BIT=on -DWITH_OPTIM=off"
- BUILDDIR=../build TOOL="cmake ../zlib-ng"
script: mkdir -p $BUILDDIR && cd $BUILDDIR &&
$TOOL && make && make test
after_success:
- bash <(curl -s https://codecov.io/bash)