2019-03-13 20:25:06 -04:00
|
|
|
steps:
|
|
|
|
- label: ":eslint: Lint"
|
|
|
|
command:
|
|
|
|
- "yarn install"
|
|
|
|
- "yarn lint"
|
|
|
|
plugins:
|
|
|
|
- docker#v3.0.1:
|
|
|
|
image: "node:10"
|
|
|
|
|
|
|
|
- label: ":karma: Tests"
|
|
|
|
command:
|
2019-03-13 21:46:52 -04:00
|
|
|
# Install chrome
|
|
|
|
- "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-13 20:25:06 -04:00
|
|
|
- "./scripts/fetch-develop.deps.sh --depth 1"
|
|
|
|
- "yarn install"
|
|
|
|
- "yarn test"
|
2019-03-13 21:46:52 -04:00
|
|
|
env:
|
|
|
|
CHROME_BIN: "/usr/bin/google-chrome-stable"
|
2019-03-13 20:25:06 -04:00
|
|
|
plugins:
|
|
|
|
- docker#v3.0.1:
|
|
|
|
image: "node:10"
|
2019-03-14 00:23:28 -04:00
|
|
|
propagate-environment: true
|