Optimized tests under travis CI

This commit is contained in:
sanex
2020-10-06 19:18:44 +03:00
parent 3ec913ac9e
commit 6d35260732
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -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
View File
@@ -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",