mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
50921070ce
This is in preparation for having multiple types of build. One of the future builds will be a hstox build, another may be frama-c or some other static analyser. It makes sense to split these up into multiple builds, because each of them can take a while, and running them in parallel will speed things up. Also, the hstox test coverage should be reported separately from the toxcore auto_test coverage.
42 lines
764 B
YAML
42 lines
764 B
YAML
language: c
|
|
compiler:
|
|
- clang
|
|
- gcc
|
|
|
|
env:
|
|
matrix:
|
|
# - BUILD=hstox
|
|
- BUILD=toxcore
|
|
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- avsm
|
|
packages:
|
|
- check
|
|
- libvpx-dev
|
|
- opam # For apidsl and Frama-C.
|
|
- texinfo # For libconfig.
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/cache
|
|
|
|
install:
|
|
# Globally used environment variables.
|
|
- export CACHE_DIR=$HOME/cache
|
|
- export OPAMROOT=$CACHE_DIR/.opam
|
|
- export PKG_CONFIG_PATH=$CACHE_DIR/lib/pkgconfig
|
|
- export ASTYLE=$CACHE_DIR/astyle/build/gcc/bin/astyle
|
|
# Install required packages.
|
|
- other/travis/${BUILD}-install
|
|
|
|
script:
|
|
- other/travis/${BUILD}-script
|
|
|
|
after_script:
|
|
- other/travis/${BUILD}-after_script
|
|
|
|
notifications:
|
|
irc: "chat.freenode.net#toktok-status"
|