mirror of
https://github.com/papercss/papercss
synced 2024-06-08 08:52:25 +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:
|
packages:
|
||||||
- google-chrome-stable fluxbox
|
- google-chrome-stable fluxbox
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- npm install -g npm@5.10.0
|
||||||
|
|
||||||
|
install:
|
||||||
|
- npm ci
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- "sh -e /etc/init.d/xvfb start"
|
- "sh -e /etc/init.d/xvfb start"
|
||||||
- sleep 3
|
- sleep 3
|
||||||
|
@ -22,11 +28,6 @@ before_script:
|
||||||
- chmod +x ./tests/build/scripts/run_jake.sh
|
- chmod +x ./tests/build/scripts/run_jake.sh
|
||||||
- export DISPLAY=:99.0
|
- export DISPLAY=:99.0
|
||||||
- gulp build
|
- gulp build
|
||||||
|
- npm run stylelint
|
||||||
|
|
||||||
script: "./jake.sh loose=true capture=Firefox"
|
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",
|
"build": "node node_modules/gulp/bin/gulp.js build",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"postinstall": "gulp postinstall",
|
"postinstall": "gulp postinstall",
|
||||||
"stylelint": "node_modules/stylelint/bin/stylelint.js 'src/**/*.scss'; exit 0"
|
"stylelint": "node_modules/stylelint/bin/stylelint.js 'src/**/*.scss'"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Loading…
Reference in a new issue