2014-05-31 09:38:01 +00:00
|
|
|
language: c
|
|
|
|
|
2016-02-19 17:39:05 +00:00
|
|
|
# sudo: false
|
|
|
|
sudo: true
|
|
|
|
dist: trusty
|
2015-08-23 19:56:10 +00:00
|
|
|
|
2014-05-31 09:38:01 +00:00
|
|
|
compiler:
|
2015-08-23 19:56:10 +00:00
|
|
|
- gcc
|
2014-05-31 09:38:01 +00:00
|
|
|
|
|
|
|
env:
|
2017-04-09 08:42:16 +00:00
|
|
|
global:
|
|
|
|
- "PATH=${HOME}/bin:${PATH}"
|
|
|
|
matrix:
|
|
|
|
- EMULATE_READER=1
|
2015-08-23 19:56:10 +00:00
|
|
|
|
|
|
|
cache:
|
2015-09-13 08:09:24 +00:00
|
|
|
apt: true
|
2015-08-23 19:56:10 +00:00
|
|
|
directories:
|
2017-04-09 08:42:16 +00:00
|
|
|
- "${HOME}/bin"
|
|
|
|
# compiled luarocks binaries
|
2017-04-11 09:23:42 +00:00
|
|
|
- "${TRAVIS_BUILD_DIR}/install"
|
|
|
|
# base build
|
|
|
|
- "${TRAVIS_BUILD_DIR}/base"
|
2017-04-09 08:42:16 +00:00
|
|
|
- "${HOME}/.ccache"
|
2017-04-11 09:23:42 +00:00
|
|
|
- "${HOME}/.luarocks"
|
|
|
|
before_cache:
|
|
|
|
# don't quote like you normally would or it won't expand
|
|
|
|
- rm -frv ${TRAVIS_BUILD_DIR}/base/build/*/cache/*
|
2017-04-24 06:27:29 +00:00
|
|
|
# don't cache unit tests
|
|
|
|
- rm -frv ${TRAVIS_BUILD_DIR}/base/build/*/spec
|
2015-08-23 19:56:10 +00:00
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-4.8
|
|
|
|
- libsdl1.2-dev
|
2017-04-11 09:23:42 +00:00
|
|
|
# luasec dependencies
|
2015-08-23 19:56:10 +00:00
|
|
|
- libssl1.0.0
|
|
|
|
- nasm
|
|
|
|
# OpenSSL likes this (package contains makedepend)
|
|
|
|
- xutils-dev
|
2014-05-31 09:38:01 +00:00
|
|
|
|
2016-02-19 08:00:59 +00:00
|
|
|
before_install: .ci/before_install.sh
|
|
|
|
install: .ci/install.sh
|
|
|
|
script: .ci/script.sh
|
|
|
|
after_success: .ci/after_success.sh
|