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"
|
|
|
|
],
|
2018-09-30 23:02:10 +00:00
|
|
|
before_script: ["npm run bootstrap"],
|
2018-10-02 12:17:49 +00:00
|
|
|
after_script: ["npm run coveralls"]
|
2017-10-23 18:25:00 +00:00
|
|
|
}
|