Skip to content

Commit 5da51b0

Browse files
chore(formatting): updating travis to run eslint, and correction for tests in package.json
1 parent 7ba8b39 commit 5da51b0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ env:
55
os:
66
- linux
77
- osx
8-
script: npm run-script test
8+
script: npm run-script lint && npm run-script test
9+
910
before_install:
1011
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.1/install.sh | bash; fi
1112
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source ~/.nvm/nvm-exec; fi

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
},
1010
"keywords": [],
1111
"scripts": {
12-
"test": "eslint -c eslint.json './**/*.js' "
12+
"test": "node tests/runner",
13+
"lint": "eslint -c eslint.json './**/*.js' "
1314
},
1415
"repository": {
1516
"type": "git",

0 commit comments

Comments
 (0)