2019-03-14 03:25:06 +03:00
|
|
|
steps:
|
2020-01-09 02:09:26 +03:00
|
|
|
- label: ":eslint: JS Lint"
|
2019-03-14 03:25:06 +03:00
|
|
|
command:
|
2020-01-09 02:14:01 +03:00
|
|
|
- "yarn install"
|
2020-01-09 02:09:26 +03:00
|
|
|
- "yarn lint:js"
|
2019-03-14 03:25:06 +03:00
|
|
|
plugins:
|
|
|
|
- docker#v3.0.1:
|
2020-01-09 02:09:26 +03:00
|
|
|
image: "node:12"
|
|
|
|
|
|
|
|
# This layer doesn't have a TypeScript linter. This comment is to remind TravisR to fix that.
|
|
|
|
# - label: ":eslint: TS Lint"
|
|
|
|
# command:
|
|
|
|
# - "echo '--- Install js-sdk'"
|
|
|
|
# - "./scripts/ci/install-deps.sh"
|
|
|
|
# - "yarn lint:ts"
|
|
|
|
# plugins:
|
|
|
|
# - docker#v3.0.1:
|
|
|
|
# image: "node:12"
|
|
|
|
|
|
|
|
- label: ":eslint: Types Lint"
|
|
|
|
command:
|
2020-01-09 02:14:01 +03:00
|
|
|
- "yarn install"
|
2020-01-09 02:09:26 +03:00
|
|
|
- "yarn lint:types"
|
|
|
|
plugins:
|
|
|
|
- docker#v3.0.1:
|
|
|
|
image: "node:12"
|
|
|
|
|
|
|
|
- label: "🛠 Build"
|
|
|
|
command:
|
2020-01-14 03:38:34 +03:00
|
|
|
- "echo '--- Fetching Dependencies'"
|
|
|
|
- "./scripts/fetch-develop.deps.sh --depth 1"
|
2020-01-09 02:14:01 +03:00
|
|
|
- "yarn install"
|
2020-01-14 03:38:34 +03:00
|
|
|
- "echo '+++ Building Project'"
|
2020-01-09 02:09:26 +03:00
|
|
|
- "yarn build"
|
|
|
|
plugins:
|
|
|
|
- docker#v3.0.1:
|
|
|
|
image: "node:12"
|
2019-03-14 03:25:06 +03:00
|
|
|
|
2020-01-15 23:00:50 +03:00
|
|
|
- label: ":jest: Tests"
|
2019-03-21 20:00:06 +03:00
|
|
|
agents:
|
|
|
|
# We use a medium sized instance instead of the normal small ones because
|
|
|
|
# webpack loves to gorge itself on resources.
|
|
|
|
queue: "medium"
|
2019-03-14 03:25:06 +03:00
|
|
|
command:
|
2019-03-21 00:33:25 +03:00
|
|
|
- "echo '--- Fetching Dependencies'"
|
2019-03-14 03:25:06 +03:00
|
|
|
- "./scripts/fetch-develop.deps.sh --depth 1"
|
|
|
|
- "yarn install"
|
2020-01-16 00:52:26 +03:00
|
|
|
- "yarn build:genfiles" # We have to build the app to make sure the autogenned files are present
|
2019-03-21 00:33:25 +03:00
|
|
|
- "echo '+++ Running Tests'"
|
2019-03-14 03:25:06 +03:00
|
|
|
- "yarn test"
|
|
|
|
plugins:
|
|
|
|
- docker#v3.0.1:
|
|
|
|
image: "node:10"
|
2019-04-26 14:21:21 +03:00
|
|
|
|
2019-04-26 17:09:01 +03:00
|
|
|
- label: ":hammer: Package"
|
2019-04-26 14:21:21 +03:00
|
|
|
command:
|
|
|
|
- "echo '--- Fetching Dependencies'"
|
|
|
|
- "./scripts/fetch-develop.deps.sh --depth 1"
|
|
|
|
- "yarn install"
|
|
|
|
- "echo '+++ Packaging'"
|
|
|
|
- "./scripts/ci_package.sh"
|
2019-04-26 16:38:36 +03:00
|
|
|
branches: "develop"
|
2019-04-26 14:21:21 +03:00
|
|
|
artifact_paths: "dist/riot-*.tar.gz"
|
|
|
|
plugins:
|
|
|
|
- docker#v3.0.1:
|
|
|
|
image: "node:10"
|
2019-07-11 21:45:06 +03:00
|
|
|
|
|
|
|
- label: "🌐 i18n"
|
|
|
|
command:
|
2019-07-11 21:47:50 +03:00
|
|
|
- "echo '--- Fetching Dependencies'"
|
|
|
|
- "./scripts/fetch-develop.deps.sh --depth 1"
|
2019-07-11 21:45:06 +03:00
|
|
|
- "yarn install"
|
2019-07-11 21:47:50 +03:00
|
|
|
- "echo '+++ Testing i18n output'"
|
2019-07-11 21:45:06 +03:00
|
|
|
- "yarn diff-i18n"
|
|
|
|
plugins:
|
|
|
|
- docker#v3.0.1:
|
2020-01-09 02:09:26 +03:00
|
|
|
image: "node:10"
|