forked from elegant-scipy/elegant-scipy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwercker.yml
45 lines (37 loc) · 1.05 KB
/
wercker.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
box: elegantscipy/elegantscipy
build:
steps:
- script:
name: Display Python information
code: |
echo "python version $(python --version) running"
echo "pip version $(pip --version) running"
- magyarjeti/locale:
locale: en_US
charset: UTF-8
- pip-install:
pip_commands: pip3
extra_args: "--upgrade --force-reinstall"
- script:
name: build book
code: |
mv /data/* ./data
make zip
- script:
name: build HTMLBook
code: |
make htmlbook
deploy:
steps:
- script:
name: Use Python 2 for deployment
code: |
ln -sf /usr/bin/python2.7 /usr/bin/python
# Uploaded to https://storage.cloud.google.com/elegant-scipy-proofs/
- michilu/gcs-website-deploy:
bucket: elegant-scipy-proofs
project: $GOOGLE_PROJECT_ID
token: $GOOGLE_REFRESH_TOKEN
dir: html
# See http://www.wllnr.nl/blog/2016/02/automatic-deployment-using-wrecker/
# for more on GCS deployment