Fix travis

This commit is contained in:
oreo639 2020-06-12 20:47:57 -07:00 committed by fincs
parent 9c1c847388
commit 26f5f7eb33
2 changed files with 11 additions and 5 deletions

View File

@ -1,7 +1,7 @@
language: c
os: linux
dist: xenial
dist: bionic
services: docker
@ -13,11 +13,9 @@ cache:
before_install:
# Travis has an OLD doxygen build, so we fetch a recent one
- export DOXY_BINPATH=/home/travis/doxygen/doxygen-1.8.18/bin
- if [ ! -e "$DOXY_BINPATH/doxygen" ] && [ -n "$TRAVIS_TAG" ]; then mkdir -p ~/doxygen && cd ~/doxygen; fi
- if [ ! -e "$DOXY_BINPATH/doxygen" ] && [ -n "$TRAVIS_TAG" ]; then wget http://doxygen.nl/files/doxygen-1.8.18.linux.bin.tar.gz; fi
- if [ ! -e "$DOXY_BINPATH/doxygen" ] && [ -n "$TRAVIS_TAG" ]; then tar xzf doxygen-1.8.18.linux.bin.tar.gz; 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
- export PATH=$PATH:$DOXY_BINPATH
- 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
install:
- docker pull devkitpro/devkitarm

8
.travis/doxyprep.sh Normal file
View File

@ -0,0 +1,8 @@
#!/bin/bash
if [ ! -e "$DOXY_BINPATH/doxygen" ]; then
mkdir -p ~/doxygen && pushd ~/doxygen
wget http://doxygen.nl/files/doxygen-1.8.18.linux.bin.tar.gz
tar xzf doxygen-1.8.18.linux.bin.tar.gz
popd
fi