2015-10-30 01:49:05 +00:00
|
|
|
language: c
|
2017-02-25 18:16:08 +00:00
|
|
|
sudo: required
|
2015-10-30 01:49:05 +00:00
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
2018-05-11 21:32:06 +00:00
|
|
|
- DEVKITPRO=/opt/devkitpro
|
2015-10-30 01:49:05 +00:00
|
|
|
- DEVKITPPC=${DEVKITPRO}/devkitPPC
|
|
|
|
|
2017-07-03 02:01:58 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- doxygen
|
2017-12-01 14:14:16 +00:00
|
|
|
- doxygen-latex
|
2017-07-03 02:01:58 +00:00
|
|
|
|
2017-03-06 03:16:36 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- ${DEVKITPRO}
|
|
|
|
|
2015-10-30 01:49:05 +00:00
|
|
|
before_install:
|
2017-02-25 18:16:08 +00:00
|
|
|
- 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:
|
2017-02-25 18:16:08 +00:00
|
|
|
- (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
|
2017-07-03 02:01:58 +00:00
|
|
|
|
2017-11-21 14:50:03 +00:00
|
|
|
before_deploy:
|
2017-12-01 16:10:12 +00:00
|
|
|
- touch doc/.nojekyll
|
|
|
|
- mv latex/refman.pdf doc/PDF-documentation.pdf
|
2017-11-21 14:50:03 +00:00
|
|
|
|
2017-07-03 02:01:58 +00:00
|
|
|
deploy:
|
|
|
|
provider: pages
|
|
|
|
skip_cleanup: true
|
|
|
|
local_dir: $TRAVIS_BUILD_DIR/doc
|
|
|
|
github_token: $GITHUB_TOKEN
|
|
|
|
on:
|
|
|
|
branch: master
|