1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/.travis.yml
2018-10-20 22:25:51 +02:00

26 lines
485 B
YAML

{
sudo: "required",
dist: "trusty",
addons: {
apt: {
sources: ["google-chrome"],
packages: ["google-chrome-stable"]
}
},
language: "node_js",
node_js: ["8", "10"],
cache: {
directories: ["node_modules"]
},
before_install: [
"export DISPLAY=:99.0",
"sh -e /etc/init.d/xvfb start",
"sleep 3"
],
before_cache: [
"rm -rf node_modules/.cache"
],
before_script: ["npm run bootstrap"],
after_script: ["npm run coveralls"]
}