forked from jmcnamara/libxlsxwriter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (32 loc) · 1.09 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
language: c
dist: trusty
compiler:
- clang
- gcc
env:
- CFLAGS='-Werror'
- NO_VALGRIND=1 USE_STANDARD_TMPFILE=1 CFLAGS='-Werror'
- NO_VALGRIND=1 CFLAGS='-Werror -m32'
- NO_VALGRIND=1 USE_SYSTEM_MINIZIP=1 CFLAGS='-Werror'
- NO_VALGRIND=1 USE_DOUBLE_FUNCTION=1 CFLAGS='-Werror'
install:
- sudo pip install pytest
- sudo apt-get update
- sudo apt-get remove -y oracle-java9-installer
- sudo apt-get install -y gcc-multilib
- sudo apt-get install -y zlib1g-dev
- sudo apt-get install -y zlib1g-dev:i386
- sudo apt-get install -y gcc
- sudo apt-get install -y valgrind
- wget http://mirrors.kernel.org/ubuntu/pool/universe/m/minizip/libminizip-dev_1.1-8_amd64.deb
- wget http://mirrors.kernel.org/ubuntu/pool/universe/m/minizip/libminizip1_1.1-8_amd64.deb
- sudo dpkg -i libminizip1_1.1-8_amd64.deb
- sudo dpkg -i libminizip-dev_1.1-8_amd64.deb
script:
- make V=1
- make test_functional V=1
- make test_unit V=1
- make examples V=1
- make test_valgrind V=1
- sudo make install V=1
- sudo make uninstall V=1