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:
|
|
|
|
- env: BUILD=hstox
|
|
|
|
language: haskell
|
|
|
|
ghc: 7.8
|
|
|
|
- env: BUILD=toxcore
|
|
|
|
compiler: clang
|
|
|
|
- env: BUILD=toxcore
|
|
|
|
compiler: gcc
|
|
|
|
- env: BUILD=autotools
|
|
|
|
compiler: clang
|
2013-06-25 08:56:38 +08:00
|
|
|
|
2016-07-06 16:47:13 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- avsm
|
|
|
|
packages:
|
|
|
|
- check
|
|
|
|
- libvpx-dev
|
2016-07-13 20:12:11 +08:00
|
|
|
- opam # For apidsl and Frama-C.
|
|
|
|
- texinfo # For libconfig.
|
2016-07-06 16:47:13 +08:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
2016-07-13 21:18:03 +08:00
|
|
|
- $HOME/.cabal
|
|
|
|
- $HOME/.ghc
|
2016-07-06 16:47:13 +08:00
|
|
|
- $HOME/cache
|
|
|
|
|
2016-07-13 20:12:11 +08:00
|
|
|
install:
|
|
|
|
# Globally used environment variables.
|
|
|
|
- export CACHE_DIR=$HOME/cache
|
2016-07-06 16:47:13 +08:00
|
|
|
- export OPAMROOT=$CACHE_DIR/.opam
|
2016-07-13 21:18:03 +08:00
|
|
|
- export LD_LIBRARY_PATH=$CACHE_DIR/lib
|
2016-07-06 16:47:13 +08:00
|
|
|
- export PKG_CONFIG_PATH=$CACHE_DIR/lib/pkgconfig
|
2016-07-13 20:12:11 +08:00
|
|
|
- export ASTYLE=$CACHE_DIR/astyle/build/gcc/bin/astyle
|
|
|
|
# Install required packages.
|
|
|
|
- other/travis/${BUILD}-install
|
2013-07-13 04:27:19 +08:00
|
|
|
|
2013-06-25 08:56:38 +08:00
|
|
|
script:
|
2016-07-13 20:12:11 +08:00
|
|
|
- other/travis/${BUILD}-script
|
2013-06-25 08:56:38 +08:00
|
|
|
|
2016-07-06 16:47:13 +08:00
|
|
|
after_script:
|
2016-07-13 20:12:11 +08:00
|
|
|
- other/travis/${BUILD}-after_script
|
2013-07-13 06:31:57 +08:00
|
|
|
|
2016-07-13 03:32:35 +08:00
|
|
|
notifications:
|
|
|
|
irc: "chat.freenode.net#toktok-status"
|