-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (43 loc) · 1.72 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
48
language: node_js
node_js:
- '8.9'
# before_script:
# - sudo apt-get install libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev build-essential g++ calibre xvfb jpegoptim optipng -y
# - npm install -g gitbook-cli gulp-cli
# - gitbook fetch 3.2.3
# - export DISPLAY=:99.0
# - sh -e /etc/init.d/xvfb start
# - sleep 3
script:
- npm run build
branches:
only:
- master
- /^v[0-9]+\.[0-9]+\.[0-9]+-(alpha|beta|rc)\.[0-9]+$/
- /^v[0-9]+\.[0-9]+\.[0-9]+$/
deploy:
- provider: s3
skip_cleanup: true
upload-dir: MC-OL48EL
local_dir: ecadoc
bucket: "$PRODUCTION_BUCKET"
region: "$AWS_REGION"
acl: private
on:
tags: true
condition: $TRAVIS_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+$
- provider: s3
skip_cleanup: true
upload-dir: MC-OL48EL
local_dir: ecadoc
bucket: "$TESTING_BUCKET"
region: "$AWS_REGION"
acl: private
on:
tags: true
condition: $TRAVIS_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+-(alpha|beta|rc)\.[0-9]+$
# notifications:
# webhooks:
# urls:
# - secure: "gmozhCxJkiTiilbgl4yR/OqFylNQP5DC97pcV1IOV4W6t0Vu3BIGIA6VitPEhBOzFX3LhJ1/5ViTdZ/6lPfp54MbBQQzXUSvwx3tJ/IEbrOackfjINZ4UQaP5WgDym9fA3HctypOdNsD7rxZcmfhrWnGwC9qvIL/5J/Ak1dkF84IVEzBcahWLJos7Cd0qB/HN5nUs2DayiSQf4b/WtQGyjVi4enBFj1CL98KHiGW//50TCk64HV2iT4l+apsHtwPvniJ6mx6JHhrl+cbD4DZmTC6dCwaviJlasqI7AdccuGHYm8FqxGnm3mmsNEvyhcmxen8IUVEexy3Ao6clFL4p20PXTDc+P3GGnxOJgqLnbgcc1sNU7r49LE5j27pX9pkOoaDCVm3ZrnwdOq45oe0rtIRGbQ+eEAcvmKDZ8cLVHPKPBhdBX6zZtvtZHFb0cxnW4W3LzQnFOsBhJQKMTD/0SeHzEAZ7foZKL+SlcagsUlOpzLtKGaT7Id+6S+opcApJDbvCw7uHtIS/M1S62Vseb4eq603cU30XwjVbTq6oGa0J2KIIlCmkjU+aTf32soNG/2DR8AGijbrMrtXLwStfCi7C7W50cO5hFt/8vosNFlCLy9KhLnHA7vTHRBGU+WwjDaz1QJMOGT4UGXw0YLwfPOyr8IjMMt7zZJESPqLR8M="
# on_start: always