forked from pixijs/filters
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (37 loc) · 834 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
34
35
36
37
38
39
40
41
language: node_js
node_js:
- "6"
install:
- npm install
cache:
directories:
- node_modules
script:
- npm test
deploy:
- provider: s3
access_key_id: $S3_ACCESS_KEY_ID
secret_access_key: $S3_SECRET_ACCESS_KEY
bucket: "pixi-filters"
skip_cleanup: true
acl: public_read
local_dir: bundle/dist
upload-dir: "$TRAVIS_BRANCH"
cache_control: "max-age=60"
region: eu-west-1
on:
all_branches: true
condition: -z $TRAVIS_TAG
- provider: s3
access_key_id: $S3_ACCESS_KEY_ID
secret_access_key: $S3_SECRET_ACCESS_KEY
bucket: "pixi-filters"
skip_cleanup: true
acl: public_read
local_dir: bundle/dist
upload-dir: "$TRAVIS_BRANCH"
cache_control: "max-age=2592000"
region: eu-west-1
on:
all_branches: true
condition: $TRAVIS_TAG