dfhack/.travis.yml

49 lines
1.2 KiB
YAML

sudo: false
2016-01-09 17:34:57 -07:00
language: cpp
2017-06-22 09:06:37 -06:00
cache:
pip: true
directories:
- $HOME/lua53
addons:
apt:
2016-01-09 17:34:57 -07:00
packages: &default_packages
- 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:
2017-06-22 09:06:37 -06:00
- pip install --user "sphinx==1.4" "requests[security]"
- sh travis/build-lua.sh
2015-02-14 18:10:48 -07:00
script:
2017-06-22 09:06:37 -06:00
- export PATH="$PATH:$HOME/lua53/bin"
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
- python travis/script-syntax.py --ext=lua --cmd="luac5.3 -p"
- 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