2013-06-25 08:56:38 +08:00
|
|
|
language: c
|
2016-07-13 20:12:11 +08:00
|
|
|
|
2016-08-10 19:28:33 +08:00
|
|
|
matrix:
|
|
|
|
include:
|
2016-09-12 03:28:01 +08:00
|
|
|
- env: JOB=hstox ENV=linux
|
2016-08-10 19:28:33 +08:00
|
|
|
language: haskell
|
|
|
|
ghc: 7.8
|
2016-09-12 03:28:01 +08:00
|
|
|
- env: JOB=autotools ENV=linux
|
2016-08-25 06:52:34 +08:00
|
|
|
compiler: gcc
|
|
|
|
- env: JOB=toxcore ENV=linux
|
2016-08-10 19:28:33 +08:00
|
|
|
compiler: clang
|
2016-08-25 06:52:34 +08:00
|
|
|
- env: JOB=toxcore ENV=osx
|
|
|
|
os: osx
|
|
|
|
- env: JOB=toxcore ENV=windows ARCH=i686
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
- env: JOB=toxcore ENV=windows ARCH=x86_64
|
|
|
|
services:
|
|
|
|
- docker
|
2016-09-22 21:42:29 +08:00
|
|
|
fast_finish: true
|
|
|
|
allow_failures:
|
|
|
|
- os: osx
|
2013-06-25 08:56:38 +08:00
|
|
|
|
2016-07-06 16:47:13 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- avsm
|
|
|
|
packages:
|
|
|
|
- check
|
2016-08-31 02:48:19 +08:00
|
|
|
- libcv-dev # For av_test.
|
|
|
|
- libhighgui-dev # For av_test.
|
|
|
|
- libopencv-contrib-dev # For av_test.
|
|
|
|
- libsndfile1-dev # For av_test.
|
2016-07-06 16:47:13 +08:00
|
|
|
- libvpx-dev
|
2016-08-31 02:48:19 +08:00
|
|
|
- opam # For apidsl and Frama-C.
|
|
|
|
- portaudio19-dev # For av_test.
|
|
|
|
- texinfo # For libconfig.
|
2016-07-06 16:47:13 +08:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
2016-08-11 20:49:49 +08:00
|
|
|
# Although Travis documentation says not to rely on the value of $HOME, we
|
|
|
|
# rely on it here because cabal installs its packages there by default. If
|
|
|
|
# that ever changes, these values need to be updated.
|
|
|
|
# Note that we can't use shell expressions in these paths, so we can't ask
|
|
|
|
# cabal where its data is stored.
|
2016-07-13 21:18:03 +08:00
|
|
|
- $HOME/.cabal
|
|
|
|
- $HOME/.ghc
|
2016-07-06 16:47:13 +08:00
|
|
|
- $HOME/cache
|
|
|
|
|
2016-08-25 06:52:34 +08:00
|
|
|
install: other/travis/phase $JOB $ENV install
|
|
|
|
script: other/travis/phase $JOB $ENV script
|
|
|
|
after_script: other/travis/phase $JOB $ENV after_script
|
|
|
|
after_failure: other/travis/phase $JOB $ENV after_failure
|
2013-07-13 06:31:57 +08:00
|
|
|
|
2016-07-13 03:32:35 +08:00
|
|
|
notifications:
|
2016-10-31 02:29:14 +08:00
|
|
|
irc:
|
|
|
|
channels:
|
|
|
|
- "chat.freenode.net#toktok-status"
|
|
|
|
template:
|
|
|
|
- "%{result} %{repository_name} %{build_url}"
|
|
|
|
- "#%{build_number} changes: %{compare_url}"
|
|
|
|
|
2016-08-11 20:49:49 +08:00
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|