Skip to content
This repository was archived by the owner on Nov 3, 2022. It is now read-only.

Commit bec23c0

Browse files
committed
Add releases to travis config
1 parent b133d57 commit bec23c0

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

.travis.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
language: node_js
2-
node_js: '4.3.2'
3-
2+
node_js: 4.3.2
43
sudo: false
54
dist: trusty
6-
75
cache:
86
directories:
97
- node_modules
108
- $HOME/.cache
11-
129
before_install:
1310
- |
1411
if [ -n "$TRAVIS_BRANCH" ]; then
@@ -29,12 +26,24 @@ before_install:
2926
export USE_GZIP=false
3027
export MIME_TYPES='{"png":"image/png","mp4":"video/mp4"}'
3128
export VIDEO_MAX_DURATION='30'
32-
3329
before_script:
3430
- yarn global add gulp
35-
3631
script:
3732
- yarn test
3833
- gulp aws:default
3934
- yarn run test-integration
4035
- gulp aws:deleteStack
36+
after_success:
37+
- cp dist.zip $TRAVIS_BUILD_DIR/lambda.zip
38+
- cp platform/aws/cloudformation.json $TRAVIS_BUILD_DIR/cloudformation.template
39+
deploy:
40+
provider: releases
41+
api_key:
42+
secure: puFiceSPSkmj00qkFWWKryxMEbT5Ok3rUA74cps5OGlqHlNnNFGpwa87n2T21/xWNE2zRMbago/qE00BOxR8kq+an64y8OATO3Y54nXLsROBD+AydBMNa20EzDZV4dpesI/F7UlsTFCyts5ozAZ1mVW3Tz3W1QY0RC0t1GAUkTA=
43+
file:
44+
- lambda.zip
45+
- cloudformation.template
46+
skip_cleanup: true
47+
on:
48+
tags: true
49+
repo: binoculars/aws-lambda-ffmpeg

0 commit comments

Comments
 (0)