Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
49 lines (36 sloc) 833 Bytes
# disable sudo to use container based build
sudo: false
# Use Build Matrix to do lint and build seperately
env:
matrix:
- TASK=lint
- TASK=test CXX=g++-4.8
# - TASK=build CXX=g++-4.8
# - TASK=build CXX=g++-5
# dependent apt packages
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
# - g++-5
- wget
- git
# - unzip
before_install:
- export TRAVIS=tests/travis
- source ${TRAVIS}/travis_setup_env.sh
install:
- pip install cpplint pylint --user `whoami`
script: ${TRAVIS}/travis_script.sh
before_cache:
- ${TRAVIS}/travis_before_cache.sh
cache:
directories:
- ${HOME}/.cache/usr
notifications:
# Emails are sent to the committer's git-configured email address by default,
email:
on_success: change
on_failure: always