From 8be8f3016c0c0076b2ac2a330f030143b5c7dddd Mon Sep 17 00:00:00 2001 From: Philipp Muens Date: Mon, 21 Nov 2016 11:20:31 +0100 Subject: [PATCH 1/2] Skip Travis builds on .md changes --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.travis.yml b/.travis.yml index ba3a6a0ad..4f81279d6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,6 +23,16 @@ matrix: - LINTING=true sudo: false +before_install: +- | + if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then + TRAVIS_COMMIT_RANGE="FETCH_HEAD...$TRAVIS_BRANCH" + fi + git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md$)|(^(docs))/' || { + echo "No code was updated. Stopping build process." + exit + } + install: - travis_retry npm install From d6e375dadc24bafd21f2d7ebba725f9b19840bf2 Mon Sep 17 00:00:00 2001 From: Nik Graf Date: Mon, 21 Nov 2016 17:58:32 +0100 Subject: [PATCH 2/2] test commit --- docs/providers/aws/guide/functions.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/providers/aws/guide/functions.md b/docs/providers/aws/guide/functions.md index 93127a772..09d912dd3 100644 --- a/docs/providers/aws/guide/functions.md +++ b/docs/providers/aws/guide/functions.md @@ -98,6 +98,7 @@ functions: memorySize: 512 # function specific ``` + ## Permissions Every AWS Lambda function needs permission to interact with other AWS infrastructure resources within your account. These permissions are set via an AWS IAM Role. You can set permission policy statements within this role via the `provider.iamRoleStatements` property.