Set up BuildKite for Chrome
This commit is contained in:
parent
f6d4c6a5a3
commit
1fb8b23d4c
4 changed files with 16 additions and 11 deletions
|
@ -9,12 +9,17 @@ steps:
|
|||
|
||||
- label: ":karma: Tests"
|
||||
command:
|
||||
#- "sudo apt-get install git"
|
||||
# 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
|
||||
- "./scripts/fetch-develop.deps.sh --depth 1"
|
||||
- "yarn install"
|
||||
- "yarn test"
|
||||
env:
|
||||
CHROME_BIN: "/usr/bin/google-chrome-stable"
|
||||
plugins:
|
||||
- docker#v3.0.1:
|
||||
image: "node:10"
|
||||
#image: "buildkite/puppeteer:v1.11.0"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue