-
Notifications
You must be signed in to change notification settings - Fork 69
/
.travis.yml
33 lines (33 loc) · 1005 Bytes
/
.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
sudo: false
language: node_js
node_js:
- 10
- node
env:
global:
- DEPLOY_URL=http://preview.ushahidi.com/platform-pattern-library/$TRAVIS_BRANCH/
- secure: GjJXyu4VpWsobYx/ztmtuVqm4yvIgcGPUSHEdEPnrqwPi7pYLg+9S9xY03w7YiTSLiVDcSSdVo5wuFHGC5couwH6TmbJGs2OzuZVrsqw3RuEMDonr1Ik/gx7pJDtpc7EpvvButZyRwXbEfzRQ0zyLL8TuBQt6LWAi9Mftcu9y8c=
install:
- npm install -g gulp
- npm install
script:
- gulp build
before_deploy:
- node before_deploy.js
deploy:
provider: s3
access_key_id: AKIAJ6HSIUBCI7Y33BPA
secret_access_key:
secure: h4Bx/Dif4+oVT32eLGUMyGWsumcrTijtXv67A/JOgAuI7SLRNmA6UW2VAu47v7E2SzYwsVoLNR7QkcIVCUL3O0V9dvoxDuz5MqMQEryqvdjwS6OMfyjtMkGm/ULM4vujexv8VszIvfUiHn/9V0eONPd23/tRTSmnqhR98w7uHQ0=
bucket: preview.ushahidi.com
skip_cleanup: true
upload-dir: platform-pattern-library/$TRAVIS_BRANCH
acl: public_read
cache_control: "no-cache"
on:
repo: ushahidi/platform-pattern-library
all_branches: true
node: 10
after_deploy:
- npm install request
- node after_deploy.js