mirror of
https://github.com/papercss/papercss
synced 2024-06-08 00:42:20 +02:00
Travis CI for stylelint
This commit is contained in:
parent
4f2d66f2b6
commit
5d2c93691e
13
.travis.yml
13
.travis.yml
|
@ -14,6 +14,12 @@ addons:
|
|||
packages:
|
||||
- google-chrome-stable fluxbox
|
||||
|
||||
before_install:
|
||||
- npm install -g npm@5.10.0
|
||||
|
||||
install:
|
||||
- npm ci
|
||||
|
||||
before_script:
|
||||
- "sh -e /etc/init.d/xvfb start"
|
||||
- sleep 3
|
||||
|
@ -22,11 +28,6 @@ before_script:
|
|||
- chmod +x ./tests/build/scripts/run_jake.sh
|
||||
- export DISPLAY=:99.0
|
||||
- gulp build
|
||||
- npm run stylelint
|
||||
|
||||
script: "./jake.sh loose=true capture=Firefox"
|
||||
|
||||
before_install:
|
||||
- npm i -g npm@latest
|
||||
|
||||
install:
|
||||
- npm ci
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"build": "node node_modules/gulp/bin/gulp.js build",
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"postinstall": "gulp postinstall",
|
||||
"stylelint": "node_modules/stylelint/bin/stylelint.js 'src/**/*.scss'; exit 0"
|
||||
"stylelint": "node_modules/stylelint/bin/stylelint.js 'src/**/*.scss'"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
Loading…
Reference in a new issue