forked from syl20bnr/spacemacs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
47 lines (47 loc) · 1.17 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
# TravisCI YAML file
language: generic
sudo: required
services:
- docker
branches:
only:
- master
- develop
env:
matrix:
- EVM_EMACS=emacs-26.1-travis
global:
- secure: "M8NF1Uw7VGkLdNmWiUF4T+VOJXwN8KCKVQb45/BWVpGm88Rcfom/9bxRTUme8VYuzIavph32QF+P9KyhX8aj2p2FMItNnxiEySzap5UrLrNiwB6ZxbQglMJj0yMQKASynNBai9KKI7mYlsM5jRpFJ9OSgj7Ko00RIFpO3EpJ+kE="
- BOT_NAME=emacspace
- SPACEMACS_REPO_SLUG="syl20bnr/spacemacs"
before_script:
- 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}"
before_deploy:
- >
if ! [ "$BEFORE_DEPLOY_RUN" ]; then
export BEFORE_DEPLOY_RUN=1;
.travisci/pub_prep.sh
fi
deploy:
- provider: script
skip_cleanup: true
script: ".travisci/pub_org.sh"
on:
branch: develop
condition: $TRAVIS_REPO_SLUG = $SPACEMACS_REPO_SLUG
- provider: script
skip_cleanup: true
script: ".travisci/pub_html.sh"
on:
all_branches: true
condition: $TRAVIS_REPO_SLUG = $SPACEMACS_REPO_SLUG