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

46 lines
1.1 KiB
YAML
Raw Normal View History

---
# TravisCI YAML file
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
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:
- |
cd /
rm -rf "${TRAVIS_BUILD_DIR}"
git clone "https://github.com/${SPACEMACS_REPO_SLUG}" \
-b "${TRAVIS_BRANCH}" \
"${TRAVIS_BUILD_DIR}"
cd "${TRAVIS_BUILD_DIR}"
2018-05-19 20:42:12 +00:00
before_deploy:
2018-10-13 08:47:20 +00:00
- >
if ! [ "$BEFORE_DEPLOY_RUN" ]; then
export BEFORE_DEPLOY_RUN=1;
.travisci/pub_prep.sh
fi
2017-08-16 15:50:02 +00:00
deploy:
2018-10-13 08:47:20 +00:00
- provider: script
skip_cleanup: true
script: ".travisci/pub_org.sh"
2018-10-13 08:47:20 +00:00
on:
2019-01-22 18:07:06 +00:00
branch: develop
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
condition: $TRAVIS_REPO_SLUG = $SPACEMACS_REPO_SLUG