libctru/.travis.yml

38 lines
988 B
YAML
Raw Normal View History

2020-06-11 03:43:39 +02:00
language: c
2019-03-28 03:07:02 +01:00
os: linux
2020-06-13 05:47:57 +02:00
dist: bionic
2015-07-12 20:21:05 +02:00
2020-06-11 03:38:42 +02:00
services: docker
2018-05-22 02:35:54 +02:00
#Cache doxygen
2015-07-12 20:21:05 +02:00
cache:
directories:
2020-06-11 03:38:42 +02:00
- /home/travis/doxygen/doxygen-1.8.18/bin
2015-07-12 20:21:05 +02:00
before_install:
# Travis has an OLD doxygen build, so we fetch a recent one
2020-06-11 03:38:42 +02:00
- export DOXY_BINPATH=/home/travis/doxygen/doxygen-1.8.18/bin
2015-07-12 20:21:05 +02:00
- export PATH=$PATH:$DOXY_BINPATH
2020-06-13 05:47:57 +02:00
- if [ -n "$TRAVIS_TAG" ]; then bash .travis/doxyprep.sh; fi
- if [ -n "$TRAVIS_TAG" ]; then openssl aes-256-cbc -K $encrypted_1b844421d50b_key -iv $encrypted_1b844421d50b_iv -in .travis/id_travis_deploy.enc -out .travis/id_travis_deploy -d; fi
2015-07-12 20:21:05 +02:00
install:
2018-05-22 02:35:54 +02:00
- docker pull devkitpro/devkitarm
2015-07-12 20:21:05 +02:00
script:
2018-05-22 02:35:54 +02:00
- docker run -e ENABLE_COMPATIBILITY_REPORTING -v $TRAVIS_BUILD_DIR:/libctru devkitpro/devkitarm /bin/bash -ex /libctru/.travis/docker.sh
2019-04-30 03:39:54 +02:00
before_deploy:
2019-03-28 03:07:02 +01:00
- sh .travis/exportdoc.sh
deploy:
2020-06-12 14:15:18 +02:00
provider: pages
2020-06-11 20:01:32 +02:00
deploy_key: .travis/id_travis_deploy
edge: true
keep_history: false
fqdn: libctru.devkitpro.org
2019-03-28 03:07:02 +01:00
local_dir: libctru/docs/html
on:
tags: true