2017-10-23 18:25:00 +00:00
|
|
|
{
|
|
|
|
sudo: "required",
|
|
|
|
dist: "trusty",
|
|
|
|
addons: {
|
|
|
|
apt: {
|
|
|
|
sources: ["google-chrome"],
|
|
|
|
packages: ["google-chrome-stable"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
language: "node_js",
|
2018-07-24 09:24:40 +00:00
|
|
|
node_js: ["8"],
|
2017-10-23 18:25:00 +00:00
|
|
|
cache: {
|
2017-12-02 17:12:57 +00:00
|
|
|
directories: ["node_modules"]
|
2017-10-23 18:25:00 +00:00
|
|
|
},
|
|
|
|
before_install: [
|
|
|
|
"export DISPLAY=:99.0",
|
|
|
|
"sh -e /etc/init.d/xvfb start",
|
|
|
|
"sleep 3"
|
|
|
|
],
|
2018-09-16 15:31:36 +00:00
|
|
|
before_cache: [
|
|
|
|
"rm -rf node_modules/.cache"
|
|
|
|
],
|
2017-10-23 18:25:00 +00:00
|
|
|
after_script: ["npm run coveralls"],
|
2017-11-06 09:43:34 +00:00
|
|
|
deploy: {
|
|
|
|
provider: "npm",
|
|
|
|
email: "leo@zeit.co",
|
|
|
|
tag: "canary",
|
|
|
|
api_key: {
|
2018-07-13 17:57:46 +00:00
|
|
|
secure: "MJfpcAJC1IvPL01NiGRLYAAgb7TZz5K0ukM1n+E+QcoF9+L1gn4WcP056ECchuohEFSwvO/ZcTZM5yhpp10cd72RZykeat/YYgRXFyUDkD3up2FHr4hYdcv/tBHCkeUMJZwt1ZNH4xM69Y02KAmpRBWZGKe6qETlZqxUg79Gi1g6W5PdhbsKedTp2tJJzG58nevKsSRP01S97K7kDC5oJNwuO+cbLwtzX5cB6Rd8hGx6lMetWLzSmSS689N0flfm/R9pxY/WjgBBQ0iYZkosb1VO2NhJMnrHtdr/Wfrkvnz8KSO/KD2n7RrOnSzUQBJSNxx35kr7HU4pKreMxEiOnEbOog4HZmWsM0UyRlbYeREfXLBvIjlnYoWCblZdVbdIl4R7NflVBSeK2eDkZQt2iCqP0fHvJ7kyLQx9J2janlr+96dKSudalercfmV9aXtbCeweqim5l4AZywSggpZAvopE6uN6KtFafO0JM760flbQfDVEQWHrHGvZvu05NrzJvZa6CN47rDHbaO6IibMXakogVz+AIuTZ3t/2bynetkericV8MGdOrwb807DLWTdqNKCj2wTmHgDiX8n3FF7VisLS54mKFfuuzzALdWtlBPbwS+bZ0235/35rs2EUidC5eunryWp4Y150xWfCK2swxM9xR0iCE0KSXrsdGDGyrvE="
|
2017-10-23 18:25:00 +00:00
|
|
|
},
|
2017-11-06 09:43:34 +00:00
|
|
|
skip_cleanup: true,
|
|
|
|
on: {
|
|
|
|
tags: true
|
2017-10-23 18:25:00 +00:00
|
|
|
}
|
2017-11-06 09:43:34 +00:00
|
|
|
}
|
2017-10-23 18:25:00 +00:00
|
|
|
}
|