This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/.travis.yml

43 lines
1.2 KiB
YAML
Raw Normal View History

---
2020-09-06 12:11:59 +00:00
# TravisCI YAML file for publishing/updating/formatting Spacemacs documentation.
language: generic
2018-05-19 20:42:12 +00:00
sudo: required
services:
- docker
branches:
2017-08-16 15:50:02 +00:00
only:
- master
- develop
2021-01-08 08:21:14 +00:00
before_install:
2021-01-08 08:44:42 +00:00
- docker load -i /tmp/docker_images/images.tar || true
2021-01-08 08:21:14 +00:00
before_cache:
2021-01-08 08:44:42 +00:00
- docker save -o /tmp/docker_images/images.tar $(docker images -a -q)
2020-08-29 00:29:23 +00:00
cache:
directories:
2021-01-08 08:44:42 +00:00
- /tmp/docker_images
2020-08-29 00:29:23 +00:00
- /tmp/elpa
- !/tmp/elpa/gnupg
env:
2017-08-16 15:50:02 +00:00
global:
- secure: "M8NF1Uw7VGkLdNmWiUF4T+VOJXwN8KCKVQb45/BWVpGm88Rcfom/9bxRTUme8VYuzIavph32QF+P9KyhX8aj2p2FMItNnxiEySzap5UrLrNiwB6ZxbQglMJj0yMQKASynNBai9KKI7mYlsM5jRpFJ9OSgj7Ko00RIFpO3EpJ+kE="
- BOT_NAME=emacspace
- BOT_EMAIL=emacspace@gmail.com
2019-01-22 18:07:06 +00:00
- SPACEMACS_REPO_SLUG="syl20bnr/spacemacs"
before_script:
2019-01-22 18:07:06 +00:00
- docker pull jare/spacetools:latest
script:
2019-12-04 15:48:24 +00:00
- git checkout "${TRAVIS_BRANCH}" && .travisci/pub_prep.sh
2017-08-16 15:50:02 +00:00
deploy:
2018-10-13 08:47:20 +00:00
- provider: script
skip_cleanup: true
2021-01-08 08:08:08 +00:00
script: ".travisci/pub_auto_update.sh"
2018-10-13 08:47:20 +00:00
on:
2019-01-22 18:07:06 +00:00
branch: develop
2019-12-09 21:01:48 +00:00
condition: $TRAVIS_REPO_SLUG = $SPACEMACS_REPO_SLUG
2019-05-07 10:40:06 +00:00
- provider: script
skip_cleanup: true
script: ".travisci/pub_html.sh"
on:
all_branches: true
2019-12-09 20:47:10 +00:00
condition: $TRAVIS_REPO_SLUG = $SPACEMACS_REPO_SLUG