Removed old Doxygen build script
This commit is contained in:
parent
7bd73b8939
commit
545e714fb6
2 changed files with 0 additions and 28 deletions
11
.travis.yml
11
.travis.yml
|
|
@ -166,17 +166,6 @@ jobs:
|
||||||
install: sudo pip install git-archive-all
|
install: sudo pip install git-archive-all
|
||||||
script: git-archive-all --prefix="sfizz-${TRAVIS_BRANCH}/" -9 "${INSTALL_DIR}.tar.gz"
|
script: git-archive-all --prefix="sfizz-${TRAVIS_BRANCH}/" -9 "${INSTALL_DIR}.tar.gz"
|
||||||
|
|
||||||
- name: "Generate documentation"
|
|
||||||
if: (tag IS present) AND (branch = master) AND (type = push)
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
packages:
|
|
||||||
- doxygen
|
|
||||||
- cmake
|
|
||||||
- libsndfile-dev
|
|
||||||
install: skip
|
|
||||||
script: .travis/update_dox.sh
|
|
||||||
|
|
||||||
- name: "Discord Webhook"
|
- name: "Discord Webhook"
|
||||||
install: skip
|
install: skip
|
||||||
script: bash ${TRAVIS_BUILD_DIR}/.travis/discord_webhook.sh success
|
script: bash ${TRAVIS_BUILD_DIR}/.travis/discord_webhook.sh success
|
||||||
|
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -x # No fail, we need to go back to the original branch at the end
|
|
||||||
. .travis/environment.sh
|
|
||||||
|
|
||||||
mkdir build && cd build && cmake -DSFIZZ_JACK=OFF -DSFIZZ_SHARED=OFF -DSFIZZ_LV2=OFF .. && cd ..
|
|
||||||
doxygen Doxyfile
|
|
||||||
./doxygen/scripts/generate_api_index.sh
|
|
||||||
git fetch --depth=1 https://github.com/${TRAVIS_REPO_SLUG}.git refs/heads/gh-pages:refs/remotes/origin/gh-pages
|
|
||||||
git checkout origin/gh-pages
|
|
||||||
git checkout -b gh-pages
|
|
||||||
mv _api api/${TRAVIS_TAG}
|
|
||||||
mv api_index.md api/index.md
|
|
||||||
git add api && git commit -m "Release ${TRAVIS_TAG} (Travis build: ${TRAVIS_BUILD_NUMBER})"
|
|
||||||
git remote add origin-pages https://${GITHUB_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git > /dev/null 2>&1
|
|
||||||
git push --quiet --set-upstream origin-pages gh-pages
|
|
||||||
git checkout ${TRAVIS_BRANCH}
|
|
||||||
Loading…
Add table
Reference in a new issue