Skip to content

Commit 9e1336d

Browse files
committed
put nsp back, fix travis
1 parent 746a439 commit 9e1336d

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

.travis.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,8 @@
11
language: node_js
22
node_js:
3-
- "5"
3+
- "8"
44
- "6"
5-
before_install:
6-
# Repo for newer Node.js versions
7-
- curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
8-
# Repo for Yarn
9-
- sudo apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3
10-
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
11-
- sudo apt-get update -qq
12-
- sudo apt-get install -y -qq yarn
13-
cache:
14-
directories:
15-
- $HOME/.yarn-cache
5+
cache: yarn
166
install:
177
- yarn
188
script:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@
2121
"url": "https://github.com/coobaha/postcss-variables-loader"
2222
},
2323
"scripts": {
24-
"audit": "nsp check package",
24+
"audit": "nsp check",
2525
"build": "babel -d ./ ./src",
2626
"check": "npm run audit",
2727
"coverage": "nyc --reporter=lcov --reporter=text --reporter=html npm test",
2828
"coveralls": "npm run coverage && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage",
2929
"lint": "eslint src test",
3030
"test": "ava --require babel-core/register -T 7s test/index.js",
3131
"validate": "npm run lint && npm test",
32-
"prepare": "npm run build && npm run validate"
32+
"prepare": "npm run build && npm run validate && nsp check"
3333
},
3434
"author": {
3535
"name": "Alexander Ryzhikov",

0 commit comments

Comments
 (0)