-
Notifications
You must be signed in to change notification settings - Fork 22
/
.travis.yml
54 lines (47 loc) · 1.17 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
47
48
49
50
51
52
53
54
language: c
dist: trusty
sudo: required
os:
- linux
- osx
compiler:
- clang
- gcc
matrix:
include:
# cross build for MinGW-w64
- os: linux
compiler: x86_64-w64-mingw32-gcc
env: STRIP=x86_64-w64-mingw32-strip
addons:
apt:
packages:
- gcc-mingw-w64
- gcc-mingw-w64-x86-64
- binutils-mingw-w64-x86-64
script:
- make -f makefile_mingw64_utf8 CC=${CC} STRIP=${STRIP}
after_success: echo "Skip report coverage"
- os: linux
compiler: i686-w64-mingw32-gcc
env: STRIP=i686-w64-mingw32-strip
addons:
apt:
packages:
- gcc-mingw-w64
- gcc-mingw-w64-i686
- binutils-mingw-w64-i686
script:
- make -f makefile_mingw_utf8 CC=${CC} STRIP=${STRIP}
after_success: echo "Skip report coverage"
before_install:
- source ./ci/before_install_${TRAVIS_OS_NAME}.sh
- source ./ci/coveralls/before_install_${TRAVIS_OS_NAME}.sh
- pip install --user codecov
script:
- make CC="$CC --coverage"
- file ./newlisp && ./newlisp -v
- make checkall
after_success:
- coveralls --exclude util
- codecov