2019-03-14 03:25:06 +03:00
|
|
|
steps:
|
|
|
|
- label: ":eslint: Lint"
|
|
|
|
command:
|
|
|
|
- "yarn install"
|
|
|
|
- "yarn lint"
|
|
|
|
plugins:
|
|
|
|
- docker#v3.0.1:
|
|
|
|
image: "node:10"
|
|
|
|
|
|
|
|
- label: ":karma: 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-14 04:46:52 +03:00
|
|
|
# Install chrome
|
2019-03-21 00:33:25 +03:00
|
|
|
- "echo '--- Installing Chrome'"
|
2019-03-14 04:46:52 +03:00
|
|
|
- "wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -"
|
|
|
|
- "sh -c 'echo \"deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main\" >> /etc/apt/sources.list.d/google.list'"
|
|
|
|
- "apt-get update"
|
|
|
|
- "apt-get install -y google-chrome-stable"
|
|
|
|
# Run tests
|
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"
|
2019-03-21 00:33:25 +03:00
|
|
|
- "echo '+++ Running Tests'"
|
2019-03-14 03:25:06 +03:00
|
|
|
- "yarn test"
|
2019-03-14 04:46:52 +03:00
|
|
|
env:
|
|
|
|
CHROME_BIN: "/usr/bin/google-chrome-stable"
|
2019-03-14 03:25:06 +03:00
|
|
|
plugins:
|
|
|
|
- docker#v3.0.1:
|
|
|
|
image: "node:10"
|
2019-03-14 07:23:28 +03:00
|
|
|
propagate-environment: true
|
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:
|
|
|
|
# Do the things needed to actually run the i18n stuff
|
|
|
|
- "yarn install"
|
|
|
|
- "yarn diff-i18n"
|
|
|
|
plugins:
|
|
|
|
- docker#v3.0.1:
|
|
|
|
image: "node:10"
|