mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Optimized tests under travis CI
This commit is contained in:
+3
-3
@@ -1,5 +1,8 @@
|
||||
language: node_js
|
||||
|
||||
env:
|
||||
- YARN_GPG=no
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- os: linux
|
||||
@@ -19,6 +22,3 @@ cache:
|
||||
- node_modules
|
||||
|
||||
script: "yarn run travis"
|
||||
|
||||
after_success:
|
||||
- yarn run test:coveralls
|
||||
|
||||
+2
-2
@@ -104,9 +104,9 @@
|
||||
"test:devCompilePerformance": "ts-node test/dev/dev-compile-performance.ts",
|
||||
"test:devRuntimePerformance": "ts-node test/dev/dev-runtime-performance.ts",
|
||||
"test:full": "yarn run test:dev && yarn run test:mocha-coverage && yarn run test:mocha-memory-performance",
|
||||
"test:coveralls": "yarn run test:mocha && nyc report --reporter=text-lcov | coveralls",
|
||||
"test:mocha": "mocha --require ts-node/register --require source-map-support/register test/index.spec.ts --exit",
|
||||
"test:mocha-coverage": "nyc --reporter text-summary yarn run test:mocha",
|
||||
"test:mocha-coverage": "nyc --reporter text-summary --no-clean yarn run test:mocha",
|
||||
"test:mocha-coverage:report": "nyc report --reporter=text-lcov",
|
||||
"test:mocha-memory-performance": "cross-env NODE_OPTIONS=--max-old-space-size=220 mocha --require ts-node/register test/performance-tests/JavaScriptObfuscatorMemory.spec.ts",
|
||||
"test": "yarn run test:full",
|
||||
"eslint": "eslint src/**/*.ts",
|
||||
|
||||
Reference in New Issue
Block a user