dfhack/.travis.yml

51 lines
1.2 KiB
YAML

sudo: false
2016-01-09 17:34:57 -07:00
language: cpp
addons:
apt:
2016-01-09 17:34:57 -07:00
packages: &default_packages
- lua5.2
- libxml-libxml-perl
- libxml-libxslt-perl
- zlib1g-dev:i386
matrix:
include:
- env: GCC_VERSION=4.5
addons:
apt:
packages:
- *default_packages
- gcc-4.5-multilib
- g++-4.5-multilib
- env: GCC_VERSION=4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- *default_packages
- gcc-4.8-multilib
- g++-4.8-multilib
2015-02-23 16:44:36 -07:00
before_install:
2015-09-22 02:42:15 -06:00
pip install --user sphinx
2015-02-14 18:10:48 -07:00
script:
2015-08-31 09:25:44 -06:00
- git tag tmp-travis-build
2015-10-30 21:30:06 -06:00
- sh travis/git-info.sh
2016-04-12 18:09:27 -06:00
- sphinx-build -qW -j3 . docs/html
- python travis/pr-check-base.py
2015-02-23 16:44:36 -07:00
- python travis/lint.py
2015-11-26 11:17:18 -07:00
- python travis/authors-rst.py
- python travis/script-in-readme.py
2015-09-26 18:04:42 -06:00
- python travis/script-syntax.py --ext=lua --cmd="luac5.2 -p"
- python travis/script-syntax.py --ext=rb --cmd="ruby -c" --path library/scripts/
2015-08-31 09:25:44 -06:00
- mkdir build-travis
- cd build-travis
2016-01-09 17:34:57 -07:00
- cmake .. -DCMAKE_C_COMPILER=gcc-$GCC_VERSION -DCMAKE_CXX_COMPILER=g++-$GCC_VERSION -DBUILD_DOCS:BOOL=ON
2015-12-19 08:55:35 -07:00
- make -j3
2015-02-15 11:25:00 -07:00
notifications:
2015-09-26 18:04:42 -06:00
email: false
irc:
channels:
- "chat.freenode.net#dfhack"
on_success: change
on_failure: always