Skip to content

Commit a656817

Browse files
[tmp] Deploy to master with failing tests (#112)
* [fix] Deploy to master with failing tests * Update .travis.yml Co-Authored-By: alexandrebouthinon <bouthinon.alexandre@gmail.com>
1 parent 23ff677 commit a656817

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

.travis.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,24 @@ jobs:
139139
cd .ci && aws s3 cp . s3://$TRAVIS_S3_BUCKET/documentation-v2/$TRAVIS_BUILD_NUMBER --recursive --exclude "*.sh" --exclude "*.html" --exclude "*.yml" --exclude ".gitignore" && cd -
140140
fi;
141141
142+
- stage: Snippets tests
143+
name: "Temporarily Deploy Kuzzle Docs with failling tests"
144+
145+
if: type != pull_request AND branch = master
146+
147+
language: node_js
148+
node_js:
149+
- "8"
150+
151+
script:
152+
- npm install
153+
- npm run build
154+
155+
after_success:
156+
- aws s3 sync build/ s3://$AWS_S3_BUCKET/ --delete
157+
- aws cloudfront create-invalidation --distribution-id $AWS_CLOUDFRONT_DISTRIBUTION_ID --paths "/*"
158+
159+
142160
# -----------------------------------------------------------------------------
143161
# Pull Request comment
144162
# -----------------------------------------------------------------------------
@@ -176,6 +194,3 @@ jobs:
176194

177195
after_deploy:
178196
- aws cloudfront create-invalidation --distribution-id $AWS_CLOUDFRONT_DISTRIBUTION_ID --paths "/*"
179-
180-
181-

0 commit comments

Comments
 (0)