File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -11,15 +11,13 @@ node_js:
1111 - " 4"
1212 - " 6"
1313cache :
14- yarn : true
1514 directories :
1615 - node_modules
17- install :
18- - curl -o- -L https://yarnpkg.com/install.sh | bash
19- - export PATH=$HOME/.yarn/bin:$PATH
20- - yarn --ignore-engines
21- before_script :
16+ before_install :
17+ - rm yarn.lock
2218 - export DISPLAY=:99.0
2319 - sh -e /etc/init.d/xvfb start
2420 - sleep 3
21+ script :
22+ - echo "No need to use npm test since it's done in the install section via 'npm prepublish'"
2523after_script : npm run coveralls
Original file line number Diff line number Diff line change 2323 },
2424 "scripts" : {
2525 "build" : " gulp" ,
26+ "release" : " gulp release" ,
2627 "pretestonly" : " chromedriver &" ,
2728 "testonly" : " NODE_PATH=test/lib jest test/unit/*.test.js test/isolated/*.test.js test/integration/**/test/*.test.js" ,
2829 "posttestonly" : " pkill chromedriver" ,
29- "pretest" : " npm run lint && NODE_ENV=test npm run prepublish " ,
30+ "pretest" : " npm run lint && NODE_ENV=test npm run release " ,
3031 "test" : " npm run testonly -- --coverage --forceExit" ,
3132 "coveralls" : " nyc --instrument=false --source-map=false report --temp-directory=./coverage --reporter=text-lcov | coveralls" ,
3233 "lint" : " standard 'bin/*' 'client/**/*.js' 'examples/**/*.js' 'lib/**/*.js' 'pages/**/*.js' 'server/**/*.js' 'test/**/*.js'" ,
33- "prepublish" : " npm run lint && gulp release && npm run testonly -- --forceExit " ,
34+ "prepublish" : " npm run test && npm run release " ,
3435 "precommit" : " npm run lint"
3536 },
3637 "standard" : {
You can’t perform that action at this time.
0 commit comments