GRRLIB/.travis.yml
Crayon2000 3161ad7a71 Add code for doxygen deployment
The @example doxygen section was added back to grrlib.h.
It was deleted by mistake in commit 4007b45af1.
2017-07-02 22:01:58 -04:00

40 lines
695 B
YAML

language: c
dist: trusty
sudo: required
os:
- linux
env:
global:
- DEVKITPRO=$HOME/devkitPro
- DEVKITPPC=${DEVKITPRO}/devkitPPC
addons:
apt:
packages:
- doxygen
cache:
directories:
- ${DEVKITPRO}
before_install:
- wget https://sourceforge.net/projects/devkitpro/files/Automated%20Installer/devkitPPCupdate.pl
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)
- doxygen grrlib.doxygen
deploy:
provider: pages
skip_cleanup: true
local_dir: $TRAVIS_BUILD_DIR/doc
github_token: $GITHUB_TOKEN
on:
branch: master