dfhack/.travis.yml

44 lines
1.1 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.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:
pip install --user "sphinx==1.4" "requests[security]"
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
2016-07-26 20:51:42 -06:00
- python travis/script-docs.py
2017-05-26 22:10:07 -06:00
- python travis/script-syntax.py --ext=lua --cmd="luac5.2 -p" || true
- python travis/script-syntax.py --ext=rb --cmd="ruby -c"
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
2016-11-22 15:31:36 -07:00
notifications:
email: false
irc:
channels:
- "chat.freenode.net#dfhack"
on_success: change
on_failure: always