2019-01-05 02:16:41 +00:00
|
|
|
# sudo is required for travis-ci to use ubuntu trusty
|
|
|
|
# ubuntu trusty is required for libsdl2-dev
|
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
|
2015-04-18 21:08:33 +00:00
|
|
|
language: c
|
|
|
|
|
|
|
|
env:
|
|
|
|
matrix:
|
|
|
|
# standard builds
|
|
|
|
- CC=gcc
|
|
|
|
- CC=clang
|
|
|
|
# extra libs
|
2019-01-05 02:16:41 +00:00
|
|
|
- CC=gcc USE_FREETYPE=1
|
|
|
|
- CC=clang USE_FREETYPE=1
|
2015-04-18 21:08:33 +00:00
|
|
|
# cross-compile using mingw
|
2019-01-05 02:16:41 +00:00
|
|
|
# dlopen curl to workaround link error because mingw-w64 in trusty is missing strtok_r required by libcurl.a
|
|
|
|
- CC= PLATFORM="mingw32" ARCH="x86" USE_CURL_DLOPEN=1
|
|
|
|
- CC= PLATFORM="mingw32" ARCH="x86_64" USE_CURL_DLOPEN=1
|
2015-04-18 21:08:33 +00:00
|
|
|
|
|
|
|
script: ./travis-ci-build.sh
|
|
|
|
|
|
|
|
notifications:
|
2019-01-05 02:16:41 +00:00
|
|
|
email: false
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- binutils-mingw-w64-i686
|
|
|
|
- gcc-mingw-w64-i686
|
|
|
|
- binutils-mingw-w64-x86-64
|
|
|
|
- gcc-mingw-w64-x86-64
|
|
|
|
- gcc-mingw-w64
|
|
|
|
- mingw-w64
|
|
|
|
- libgl1-mesa-dev
|
|
|
|
- libsdl2-dev
|
|
|
|
- libfreetype6-dev
|