-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into 1.0.1-proposal
- Loading branch information
Showing
1 changed file
with
124 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,131 +1,129 @@ | ||
env: | ||
global: | ||
# BINTRAY_USER | ||
- secure: YJWM5LX2dCCZjWKen4mLxrXuGk1E/kcyOunO1J+KJdFtEYUeV8e4y5u3mzYDfcU/ovPYBjvNc8nDAnOKq5NuqwqqYegKRa+h90Xzi5ZsVsL7M7NHmnBL1gtxhG2NNYgk6GbPxYfT1FBG6vWyd7DICf87Qt5U9SitPr+XYi/5rxf0hkF6fPIVemOVaRuA3po38eu3oRt5zxtXQ5sRM+NcgxE+ALxeHxX6c8qAARxQcgS+QP8ET7vUI0GYS1j0EAErqvCzz91EwlDMHAv6MUXuz7kzZyeLdWAjEW/xPTsXAehGb/oNmXZUvERh2KXay9NdT8EsipH4f0Rl/KKX2/auweoVPKGcHL1g+mOatyFNNxQZ7wtCv/JqXTj6Y9vwlLHSESy5rmMG7GleZevXLjO/wWd5yWIKmwxhvvUrZeUHLo5w/EgPlx8h3myjl2003Qhg2BCjGw/CVqbDolmVBIf6yNEWd5Fp+UL/govR3x7+EUIe5YCqcVy71XjGxwd7i6R9YKmseZqQmdAzanKnr8Pbe5ppH2bPUJxuWH8MdQUwifGttlh/IyKgqbkoxfvS+5SqipNhJky2bjX+x35EoTlAQkaw0YRiGtfmb6nEUXZgKa+uvR4vi0NHGUe3uzvsZjxtHFkM1T4Ysr3RUmYDfpj2ymCQbzQqC8nnQoeyXEe6Ue4= | ||
# BINTRAY_KEY | ||
- secure: PsUWWzEPYXymGVtnDJmHNxRmPYnw7v0Ucsvx672w6O9tpfyL2dADwGuhxnGjLXuifN8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BYI9SoYS3Z0tcM9waE6V4N11PRgP0sSxOr/YWHFzOZu2hdKzowXN9l5Z+tCHcOtLbLqheFNAm5kKZOY+n6iV9YLE7c8D1f14QVnjpjl2z7uX057Q+rd49NaHQnx3mrsLNrQfHoEI39sP5pWNLePjIu1YyWsiiUnlkPmroQECwWlmPBiqfF+ND+ngVgaFgZxP2QResSt0G3FfwxEA04Da4q6wfH+gNrgUjKCh/gK1Ef/VuONZB7hoEActWnV9iEa7+WlSVI8= | ||
- AWS_ACCESS_KEY_ID=AKIAIYAXFUAHXOWP2MJA | ||
|
||
job: | ||
include: | ||
- stage: Tests | ||
name: Unit tests SDK Kotlin | ||
language: kotlin | ||
jdk: openjdk8 | ||
sudo: false | ||
before_cache: | ||
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock | ||
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/ | ||
cache: | ||
directories: | ||
- "$HOME/.gradle/caches/" | ||
- "$HOME/.gradle/wrapper/" | ||
install: | ||
- cd $TRAVIS_BUILD_DIR/ | ||
script: | ||
- ./gradlew test | ||
|
||
- stage: Tests | ||
name: Dead link check | ||
if: | ||
type = pull_request OR type = push AND branch =~ /^master|[0-9]+-(dev|stable)$/ | ||
OR type = cron | ||
language: node_js | ||
node_js: 12 | ||
before_script: | ||
- npm ci | ||
- npm run doc-prepare | ||
- $(npm bin)/kuzdoc iterate-repos:install --repos_path doc/framework/.repos/ | ||
- $(npm bin)/kuzdoc framework:link -d /sdk/java/3/ -v 3 | ||
|
||
- stage: Tests | ||
name: Unit tests SDK Kotlin | ||
jdk: openjdk8 | ||
sudo: false | ||
before_cache: | ||
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock | ||
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/ | ||
cache: | ||
directories: | ||
- "$HOME/.gradle/caches/" | ||
- "$HOME/.gradle/wrapper/" | ||
install: | ||
- cd $TRAVIS_BUILD_DIR/ | ||
script: | ||
- "./gradlew test" | ||
- stage: Tests | ||
name: Dead link check | ||
if: type = pull_request OR type = push AND branch =~ /^master|[0-9]+-(dev|stable)$/ | ||
OR type = cron | ||
language: node_js | ||
node_js: 12 | ||
before_script: | ||
- npm ci | ||
- npm run doc-prepare | ||
- "$(npm bin)/kuzdoc iterate-repos:install --repos_path doc/framework/.repos/" | ||
- "$(npm bin)/kuzdoc framework:link -d /sdk/java/3/ -v 3" | ||
script: | ||
- gem install typhoeus | ||
- cd doc/framework/ && HYDRA_MAX_CONCURRENCY=20 ruby .ci/dead-links.rb -p src/sdk/java/3/ | ||
- stage: Tests | ||
name: Documentation Snippets | ||
if: type = pull_request OR type = push AND branch =~ /^master|[0-9]+-dev$/ OR | ||
type = cron | ||
language: node_js | ||
node_js: 12 | ||
script: docker-compose -f .ci/doc/docker-compose.yml run doc-tests index | ||
- stage: Deployments | ||
name: Deploy documentation to next-docs.kuzzle.io | ||
if: type = push AND branch =~ /^[0-9]+-dev$/ | ||
language: node_js | ||
node_js: 12 | ||
env: | ||
- BRANCH=dev | ||
- NODE_ENV=production | ||
- S3_BUCKET=docs-next.kuzzle.io | ||
- CLOUDFRONT_DISTRIBUTION_ID=E2ZCCEK9GRB49U | ||
- AWS_DEFAULT_REGION=us-west-2 | ||
addons: | ||
apt: | ||
update: true | ||
packages: | ||
- python | ||
- python-pip | ||
install: | ||
- pip install awscli --upgrade --user | ||
- npm ci | ||
script: | ||
- npm run doc-prepare | ||
- npm run doc-build | ||
deploy: | ||
provider: script | ||
script: | ||
- gem install typhoeus | ||
- cd doc/framework/ && HYDRA_MAX_CONCURRENCY=20 ruby .ci/dead-links.rb -p src/sdk/java/3/ | ||
|
||
- stage: Tests | ||
name: Documentation Snippets | ||
if: type = pull_request OR type = push AND branch =~ /^master|[0-9]+-dev$/ OR type = cron | ||
language: node_js | ||
node_js: 12 | ||
script: docker-compose -f .ci/doc/docker-compose.yml run doc-tests index | ||
- stage: Deployments | ||
name: Deploy documentation to next-docs.kuzzle.io | ||
if: type = push AND branch =~ /^[0-9]+-dev$/ | ||
language: node_js | ||
node_js: 12 | ||
env: | ||
- BRANCH=dev | ||
- NODE_ENV=production | ||
- S3_BUCKET=docs-next.kuzzle.io | ||
- CLOUDFRONT_DISTRIBUTION_ID=E2ZCCEK9GRB49U | ||
- AWS_DEFAULT_REGION=us-west-2 | ||
|
||
addons: | ||
apt: | ||
update: true | ||
packages: | ||
- python | ||
- python-pip | ||
install: | ||
- pip install awscli --upgrade --user | ||
- npm ci | ||
script: | ||
- npm run doc-prepare | ||
- npm run doc-build | ||
deploy: | ||
provider: script | ||
script: | ||
- npm run doc-upload | ||
skip_cleanup: true | ||
on: | ||
all_branches: true | ||
after_deploy: | ||
- npm run doc-cloudfront | ||
- stage: Deployments | ||
name: Deploy documentation to docs.kuzzle.io | ||
if: type = push AND branch =~ /^master|[0-9]+-stable$/ | ||
language: node_js | ||
node_js: 12 | ||
env: | ||
- NODE_ENV=production | ||
- S3_BUCKET=docs.kuzzle.io | ||
- CLOUDFRONT_DISTRIBUTION_ID=E3D6RP0POLCJMM | ||
- AWS_DEFAULT_REGION=us-west-2 | ||
addons: | ||
apt: | ||
packages: | ||
- python | ||
- python-pip | ||
install: | ||
- pip install awscli --upgrade --user | ||
- npm ci | ||
- npm run doc-upload | ||
skip_cleanup: true | ||
on: | ||
all_branches: true | ||
after_deploy: | ||
- npm run doc-cloudfront | ||
- stage: Deployments | ||
name: Deploy documentation to docs.kuzzle.io | ||
if: type = push AND branch =~ /^master|[0-9]+-stable$/ | ||
language: node_js | ||
node_js: 12 | ||
env: | ||
- NODE_ENV=production | ||
- S3_BUCKET=docs.kuzzle.io | ||
- CLOUDFRONT_DISTRIBUTION_ID=E3D6RP0POLCJMM | ||
- AWS_DEFAULT_REGION=us-west-2 | ||
addons: | ||
apt: | ||
packages: | ||
- python | ||
- python-pip | ||
install: | ||
- pip install awscli --upgrade --user | ||
- npm ci | ||
script: | ||
- npm run doc-prepare | ||
- npm run doc-build | ||
deploy: | ||
provider: script | ||
script: | ||
- npm run doc-prepare | ||
- npm run doc-build | ||
deploy: | ||
provider: script | ||
script: | ||
- npm run doc-upload | ||
skip_cleanup: true | ||
on: | ||
all_branches: true | ||
after_deploy: | ||
- npm run doc-cloudfront | ||
- stage: Deployments | ||
name: Deploy to Bintray | ||
if: branch = master AND type = push | ||
language: java | ||
jdk: | ||
- openjdk8 | ||
deploy: | ||
provider: script | ||
script: "./gradlew bintrayUpload" | ||
skip_cleanup: true | ||
on: | ||
condition: "$TRAVIS_BRANCH = master" | ||
- npm run doc-upload | ||
skip_cleanup: true | ||
on: | ||
all_branches: true | ||
after_deploy: | ||
- npm run doc-cloudfront | ||
- stage: Deployments | ||
name: Deploy to Bintray | ||
if: branch = master AND type = push | ||
language: java | ||
jdk: | ||
- openjdk8 | ||
deploy: | ||
provider: script | ||
script: "./gradlew bintrayUpload" | ||
skip_cleanup: true | ||
on: | ||
condition: "$TRAVIS_BRANCH = master" | ||
stages: | ||
- name: Tests | ||
if: type =~ /(cron|push|pull_request)/ AND branch =~ /^master|[0-9]+-(dev|stable)$/ | ||
- name: Builds | ||
if: type =~ /(cron|push|pull_request)/ AND branch =~ /^master|[0-9]+-(dev|stable)$/ | ||
- name: Deployments | ||
if: type =~ /(cron|push|pull_request)/ AND branch =~ /^master|[0-9]+-stable$/ | ||
|
||
env: | ||
global: | ||
# BINTRAY USER | ||
- secure: PoPcUT59DAny2w5WcTxDU0a7MWSjtX5q2aMujmLcoDM/pOFL/pMGSzWttnncGNweZaHjCNezxj41OrMVzDImW5lNBK5tTK8vL8JjSGKcmb/aRTruiOU9AU5PzftVYtsdq3mOHEstP0umw6b3PQ80Xlrq6jOzTAxKUlu2hMEc9nuVMLtiUncC6f0GdZ0wGkc+4aqVAIw0hFyz0bfWV9rQgA9tYuXgoDuByhG+obBzJpdVuFrhMmq3/0TZigaO4mh1q/Q2yBUbmOEzQKqKcAeN2ze7nB19Bdoj6UqC7YMSdh8TATkpjgHdEApvi3ynotAxOqfUzk9GjL9CXdF1qR/RdlMYBO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ron|push|pull_request)/ AND branch =~ /^master|[0-9]+-(dev|stable)$/ | ||
- name: Builds | ||
if: type =~ /(cron|push|pull_request)/ AND branch =~ /^master|[0-9]+-(dev|stable)$/ | ||
- name: Deployments | ||
if: type =~ /(cron|push|pull_request)/ AND branch =~ /^master|[0-9]+-(dev|stable)$/ |