2017-08-13 00:57:13 +00:00
|
|
|
---
|
|
|
|
# TravisCI YAML file
|
2015-12-11 05:40:15 +00:00
|
|
|
language: generic
|
2018-05-19 20:42:12 +00:00
|
|
|
sudo: required
|
|
|
|
services:
|
|
|
|
- docker
|
2015-01-14 22:27:42 +00:00
|
|
|
branches:
|
2017-08-16 15:50:02 +00:00
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- develop
|
2015-12-11 05:40:15 +00:00
|
|
|
env:
|
2017-08-16 15:50:02 +00:00
|
|
|
matrix:
|
2018-06-07 03:55:29 +00:00
|
|
|
- EVM_EMACS=emacs-26.1-travis
|
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"
|
2018-05-19 20:42:12 +00:00
|
|
|
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
|
2018-10-25 18:59:00 +00:00
|
|
|
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
|