forked from plone/documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (44 loc) · 1.62 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
language: python
python:
- 2.7
sudo: false
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- curl -O http://www.abisource.com/downloads/enchant/1.6.0/enchant-1.6.0.tar.gz
- tar xzvf enchant-1.6.0.tar.gz
- cd enchant-1.6.0
- ./configure --prefix=`pwd`
- make install
- cd ..
install:
- git clone https://github.com/plone/papyrus ../papyrus && cd ../papyrus
- mkdir -p source && ln -s ../../documentation source/documentation
- mkdir -p buildout-cache/downloads
- python bootstrap-buildout.py
- bin/buildout -N -t 3 buildout:checkout=documentation sources:documentation="fs
documentation egg=false"
before_script:
- gem install --version 0.8.9 faraday
- gem install travis-artifacts
script:
- LANGS=en make html
after_script:
- travis-artifacts upload --path build/html
- travis-artifacts upload --target-path latest --path build/html
cache:
directories:
- eggs
notifications:
irc:
channels:
- irc.freenode.org#plone-docs
template:
- ! '%{repository}#%{build_number} (%{branch} | %{commit} | %{author}): %{message}'
- ! 'Sphinx: http://plone-documentation.s3-website-us-east-1.amazonaws.com/artifacts/%{build_number}/%{build_number}.1/en/'
env:
global:
- LD_LIBRARY_PATH=`pwd`/enchant-1.6.0/lib
- ARTIFACTS_S3_BUCKET=plone-documentation
- secure: B1NL93YgevEmUmvogdnq6Cz1GFvsFiYyCIv6yvudss2f9jzX1nzolbXiH8bFDwJnNQmkzFSm+fzWRDCSvoO8KnvLHTOjsrlcLQ6Er9A/vNQU1DgBvoqxBI7Y+h8OrTzhGK7YENAD/1PkSXmt/OAji/YKJNSULTawpGN1hGBfEio=
- secure: Bn6H7ckcLTZrR73FcoqWH2ukzlQKGyDyFFAPN9FbJ0/gPH3a/6XLMe59WH6pYcvzxotxfvaQEloTuXnJvjn/f7lTkRHU1Z+DbymdmXuhNCv0meMwg0EhSKiqfYpUqhs/1Jn/fqUnxcFu66Ts905DKs1fnBbWHG5+JmVkslFaRSo=