File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ before_script:
41
41
- psql -c 'CREATE EXTENSION postgis;' -U postgres -d parse_server_postgres_adapter_test_database
42
42
- psql -c 'CREATE EXTENSION postgis_topology;' -U postgres -d parse_server_postgres_adapter_test_database
43
43
- silent=1 mongodb-runner --start
44
+ script :
45
+ - npm run coverage
44
46
after_script :
45
47
- bash <(curl -s https://codecov.io/bash)
46
48
Original file line number Diff line number Diff line change 69
69
"lint" : " eslint --cache ./" ,
70
70
"build" : " babel src/ -d lib/ --copy-files" ,
71
71
"pretest" : " npm run lint" ,
72
- "test" : " cross-env MONGODB_VERSION=${MONGODB_VERSION:=3.2.6} MONGODB_STORAGE_ENGINE=mmapv1 TESTING=1 $COVERAGE_OPTION jasmine" ,
73
- "test:win" : " cross-env MONGODB_VERSION=${MONGODB_VERSION:=3.2.6} MONGODB_STORAGE_ENGINE=mmapv1 TESTING=1 jasmine" ,
74
- "coverage" : " cross-env COVERAGE_OPTION='./node_modules/.bin/nyc' npm test" ,
75
- "coverage:win" : " cross-env MONGODB_VERSION=${MONGODB_VERSION:=3.2.6} MONGODB_STORAGE_ENGINE=mmapv1 TESTING=1 node ./node_modules/.bin/nyc ./node_modules/jasmine/bin/jasmine.js" ,
72
+ "test" : " cross-env MONGODB_VERSION=${MONGODB_VERSION:=3.2.6} MONGODB_STORAGE_ENGINE=mmapv1 TESTING=1 jasmine" ,
73
+ "coverage" : " cross-env MONGODB_VERSION=${MONGODB_VERSION:=3.2.6} MONGODB_STORAGE_ENGINE=mmapv1 TESTING=1 nyc jasmine" ,
76
74
"start" : " node ./bin/parse-server" ,
77
75
"prepublish" : " npm run build"
78
76
},
You can’t perform that action at this time.
0 commit comments