2017-06-25 01:51:07 +00:00
|
|
|
# sudo is required for travis-ci to use ubuntu trusty
|
|
|
|
# ubuntu trusty is required for libsdl2-dev
|
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
|
2013-03-06 04:29:38 +00:00
|
|
|
language: c
|
2014-05-19 22:27:25 +00:00
|
|
|
|
|
|
|
env:
|
2014-12-28 21:26:59 +00:00
|
|
|
global:
|
|
|
|
# coverity token
|
|
|
|
- secure: "a2pGsG/+LS12sD/vgCF912TKBDDiT8PwRTH50eE94trQoHmD+bubIc4mXR9rSuU/NKNPdn6KZlqrVkVuoIanjYaf+rg28VavGMcBrtVO2cI1yjTUxb5Eq/cT20m3KfZCSFw3iWXfiK1CpDkm9Pdrr2Yz99EGZse3Y6jRGJ6giWM="
|
|
|
|
matrix:
|
|
|
|
# standard builds
|
|
|
|
- CC=gcc
|
|
|
|
- CC=clang
|
|
|
|
# extra libs
|
|
|
|
- CC=gcc USE_CODEC_VORBIS=1 USE_FREETYPE=1
|
|
|
|
- CC=clang USE_CODEC_VORBIS=1 USE_FREETYPE=1
|
|
|
|
# cross-compile using mingw
|
2017-07-28 19:32:28 +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
|
2013-03-06 07:52:24 +00:00
|
|
|
|
2013-03-22 16:41:47 +00:00
|
|
|
script: ./travis-ci-build.sh
|
2013-03-06 07:52:24 +00:00
|
|
|
|
2013-03-06 08:35:05 +00:00
|
|
|
notifications:
|
2013-03-22 16:41:47 +00:00
|
|
|
email: false
|
2014-09-01 20:16:41 +00:00
|
|
|
|
|
|
|
addons:
|
2017-06-25 01:51:07 +00:00
|
|
|
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
|
2014-09-01 20:16:41 +00:00
|
|
|
coverity_scan:
|
|
|
|
project:
|
|
|
|
name: "ioquake/ioq3"
|
2014-09-01 20:35:37 +00:00
|
|
|
description: "Build submitted via Travis CI"
|
|
|
|
notification_email: quake3-commits@icculus.org
|
|
|
|
build_command_prepend: "make clean"
|
|
|
|
build_command: "make release"
|
2017-06-25 01:48:06 +00:00
|
|
|
branch_pattern: coverity_scan
|