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-10-20 20:25:51 +00:00
|
|
|
node_js: ["8", "10"],
|
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"
|
|
|
|
],
|
2019-02-14 13:33:00 +00:00
|
|
|
before_script: [],
|
2018-10-02 12:17:49 +00:00
|
|
|
after_script: ["npm run coveralls"]
|
2017-10-23 18:25:00 +00:00
|
|
|
}
|