FIX travis file
This commit is contained in:
parent
605a9b2eac
commit
1be7294468
12
.travis.yml
12
.travis.yml
@ -1,9 +1,15 @@
|
||||
language: node_js
|
||||
os:
|
||||
- linux
|
||||
node_js:
|
||||
- "node"
|
||||
- "8"
|
||||
|
||||
before_deploy:
|
||||
- npm i
|
||||
before_install:
|
||||
- export CHROME_BIN=chromium-browser
|
||||
- export DISPLAY=:99.0
|
||||
- sh -e /etc/init.d/xvfb start
|
||||
script:
|
||||
- npm i --silent
|
||||
- npm run lint
|
||||
- npm test
|
||||
- npm export
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
"start": "node build/dev-server.js",
|
||||
"pdf": "node node/app.js",
|
||||
"preview": "node node/preview.js",
|
||||
"test": "concurrently \"npm run dev\" \"testcafe chrome test/\" --success first --kill-others --raw",
|
||||
"test": "concurrently \"npm run dev\" \"testcafe chromium test/\" --success first --kill-others --raw",
|
||||
"template": "node node/template/template.js",
|
||||
"export": "concurrently \"npm run dev\" \"npm run pdf\" --success first --kill-others --raw",
|
||||
"lint": "eslint --ext .js,.vue src test/unit/specs test/e2e/specs"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user