From 6d3526073237a4edda975d0b4220b07588aecb27 Mon Sep 17 00:00:00 2001 From: sanex Date: Tue, 6 Oct 2020 19:18:44 +0300 Subject: [PATCH] Optimized tests under travis CI --- .travis.yml | 6 +++--- package.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6b9772b4..fbde755c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/package.json b/package.json index 68179586..915e4b59 100644 --- a/package.json +++ b/package.json @@ -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",