latex-packages/.travis.yml

47 lines
1009 B
YAML
Raw Normal View History

2021-10-07 19:47:47 +02:00
sudo: true
dist: bionic
language: python
cache: apt
addons:
apt:
packages:
- tree
- latexmk
- biber
- make
install:
- pip install GitPython
script:
2021-10-24 10:35:53 +02:00
- source ./.travis/get_build_repo_from_origin.sh
- source ./.travis/travis_build.sh
2021-10-07 19:47:47 +02:00
deploy:
- provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
local-dir: build/
keep-history: false
on:
branch: master
2021-10-07 21:47:54 +02:00
- provider: releases
api_key: $GITHUB_TOKEN
skip_cleanup: true
file: $TRAVIS_BUILD_DIR/build/LatexPackages.zip
on:
tags: true
2021-10-08 07:32:21 +02:00
- provider: pages
edge: true
2021-10-08 07:32:21 +02:00
github-token: $GITHUB_TOKEN
2021-10-24 10:35:53 +02:00
local-dir: build/LatexPackagesBuild
2021-10-08 07:32:21 +02:00
repo: kesslermaximilian/LatexPackagesBuild
commiter_from_gh: true
allow_empty_commit: true
target_branch: $TRAVIS_BRANCH-build
2021-10-08 09:17:56 +02:00
commit_message: $COMMIT_MSG
2021-10-08 07:32:21 +02:00
on:
2021-10-08 08:57:27 +02:00
all_branches: true
2021-10-08 07:54:34 +02:00
condition: $TRAVIS_PULL_REQUEST = false