-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
22 lines (22 loc) · 1.26 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
language: python
python:
- 3.6
env:
global:
# Doctr deploy key for moorepants/mae223
- secure: "DUZO4HYuynYYff2aPwPdtdjjPDTgu7C091R2fo5rB+tH+a6RlmZhamsHPP3rnrjfgNHo7J9fbapJkqbTCWeegGCEzt+8K/dtFmIagAVDmL3rVBndiORE9sgOLMB1hmE+/UrR6R/JnejQYcia3Ki+OrUHNVEzd6OA2WsUAd6/TxmRjUlbxQW6UONVhWAaeEEnhoKBzcUzWSClsyXq+egrUJ0aWFCc8mYZ0LtlgvsO4yzl5RRZjLJ5OD6apBYdTv0DXpxg6pzqs5nIaCGn8Iev50Uh9j/4XZwsXqj2TScYdrUBCc9yQ8WavXKUEfDwtsJTPCW9RRnGOQTk+VD5w6Fb84pNd8Mkr0TplmBm2mHUa61Rbt7tqY6OWfYMHy6a6sh80ZVl9FOn5Fk2qzQA0pwiSgNlEteQQB28P68uq6NZEsMjrXXkCsBZ6tyW5uTvqXE71H4jHBIp4+BZ8I3Ynm4ed13ckYAo2kCXBL3IPoX4aQLCF3h8JMNXMo9zK0I+rnrX4FUa1gn/QeVpypC9hs5wn2717i6/FUjWz6NIJ1MqeGAVLJTBdMwgRmSH5iQ05iPikn/KW1mOMBgjfcSL5CfUDwaTP3M7MgluKw6plMiNV++SOVzTswlp+nBrKoRpBXf1xIoMwktZjxFqXm8mgP4gkeuJuT1wCQyMBUZUxjR2KwY="
install:
- git clone --depth=1 https://github.com/getpelican/pelican-plugins.git
- git clone --depth=1 --single-branch --branch mechmotum https://github.com/mechmotum/pelican-alchemy.git
- pip install pelican doctr pyyaml
before_script:
- pip freeze
script:
- set -e
- pelican -D -v --fatal errors -s publishconf.py
- if [[ -z "$TRAVIS_TAG" ]]; then
DEPLOY_DIR=".";
else
DEPLOY_DIR="$TRAVIS_TAG";
fi
- doctr deploy --build-tags --built-docs output/ $DEPLOY_DIR