GRRLIB/.travis.yml
Crayon2000 d406c92ac1 Create a .nojekyll file in the doc folder
Files that start with an underscore are missing in GitHub pages (doxygen documentation).
The work around for this behavior is to include a .nojekyll file in the root path to turn off Jekyll.
If we add a .nojekyll file, the source files will be published without any modifications.
2017-11-21 09:50:03 -05:00

43 lines
751 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
before_deploy:
touch $TRAVIS_BUILD_DIR/doc/.nojekyll
deploy:
provider: pages
skip_cleanup: true
local_dir: $TRAVIS_BUILD_DIR/doc
github_token: $GITHUB_TOKEN
on:
branch: master