GRRLIB/.travis.yml

46 lines
842 B
YAML
Raw Normal View History

2015-10-30 01:49:05 +00:00
language: c
sudo: required
2015-10-30 01:49:05 +00:00
os:
- linux
env:
global:
- DEVKITPRO=/opt/devkitpro
2015-10-30 01:49:05 +00:00
- DEVKITPPC=${DEVKITPRO}/devkitPPC
addons:
apt:
packages:
- doxygen
- doxygen-latex
2017-03-06 03:16:36 +00:00
cache:
directories:
- ${DEVKITPRO}
2015-10-30 01:49:05 +00:00
before_install:
- wget https://sourceforge.net/projects/devkitpro/files/Automated%20Installer/devkitPPCupdate.pl
2015-10-30 01:49:05 +00:00
install:
- sudo perl devkitPPCupdate.pl
script:
- (cd GRRLIB && sudo -E make clean all install)
- (cd examples && make)
- (cd GRRLIB && sudo -E make PLATFORM=cube clean all)
2017-12-04 01:22:36 +00:00
- doxygen grrlib.doxygen >/dev/null
- make --directory=latex >/dev/null
before_deploy:
2017-12-01 16:10:12 +00:00
- touch doc/.nojekyll
- mv latex/refman.pdf doc/PDF-documentation.pdf
deploy:
provider: pages
skip_cleanup: true
local_dir: $TRAVIS_BUILD_DIR/doc
github_token: $GITHUB_TOKEN
on:
branch: master