-
Notifications
You must be signed in to change notification settings - Fork 20
/
.travis.yml
31 lines (29 loc) · 852 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
language: c
matrix:
include:
- os: linux
dist: trusty
addons:
apt:
packages:
- bison
- xsltproc
- libfreetype6-dev
- libgtk2.0-dev
- libsdl-dev
- libreadline-dev
- os: linux
dist: trusty
addons:
apt:
packages:
- bison
- xsltproc
- gcc-mingw-w64
env: # Using x86_64-w64-mingw32-pkg-config is not good enough as it still pickup the host's freetype :(
- CONFIGURE_FLAGS="--cc x86_64-w64-mingw32-gcc --pkg-config-libdir /usr/x86_64-w64-mingw32/lib/pkgconfig"
- os: osx
install: brew update && brew bundle
env:
- CONFIGURE_FLAGS="--bison /usr/local/opt/bison/bin/bison"
script: ./configure $CONFIGURE_FLAGS && make -k -j2 all && make test