We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ba8b39 commit 5da51b0Copy full SHA for 5da51b0
.travis.yml
@@ -5,7 +5,8 @@ env:
5
os:
6
- linux
7
- osx
8
-script: npm run-script test
+script: npm run-script lint && npm run-script test
9
+
10
before_install:
11
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.1/install.sh | bash; fi
12
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source ~/.nvm/nvm-exec; fi
package.json
@@ -9,7 +9,8 @@
},
"keywords": [],
"scripts": {
- "test": "eslint -c eslint.json './**/*.js' "
+ "test": "node tests/runner",
13
+ "lint": "eslint -c eslint.json './**/*.js' "
14
15
"repository": {
16
"type": "git",
0 commit comments