Skip to content

Commit

Permalink
fix: remove node8 job (temp)
Browse files Browse the repository at this point in the history
  • Loading branch information
mayurkale22 committed Aug 5, 2019
1 parent ab9573e commit a1de3b7
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 30 deletions.
13 changes: 6 additions & 7 deletions .circleci/config.yml
@@ -1,6 +1,6 @@
version: 2

unit_tests: &unit_tests
node_unit_tests: &node_unit_tests
steps:
- checkout
- run:
Expand All @@ -24,7 +24,7 @@ unit_tests: &unit_tests
command: yarn compile
- run:
name: Unit tests
command: yarn test:node
command: yarn test
- run:
name: report coverage
command: yarn codecov
Expand Down Expand Up @@ -57,25 +57,24 @@ jobs:
node8:
docker:
- image: node:8
<<: *unit_tests
<<: *node_unit_tests
node10:
docker:
- image: node:10
<<: *unit_tests
<<: *node_unit_tests
node11:
docker:
- image: node:11
<<: *unit_tests
<<: *node_unit_tests
node12:
docker:
- image: node:12
<<: *unit_tests
<<: *node_unit_tests
node12-browsers:
docker:
- image: circleci/node:12-browsers
<<: *browsers_unit_tests


workflows:
version: 2
build:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -8,7 +8,7 @@
"fix": "lerna run fix",
"postinstall": "yarn run bootstrap",
"compile": "lerna run compile",
"test:node": "lerna run test:node",
"test": "lerna run test",
"test:browser": "lerna run test:browser",
"bootstrap": "lerna bootstrap",
"bump": "lerna publish",
Expand Down
6 changes: 3 additions & 3 deletions packages/opentelemetry-basic-tracer/package.json
Expand Up @@ -6,9 +6,9 @@
"types": "build/src/index.d.ts",
"repository": "open-telemetry/opentelemetry-js",
"scripts": {
"test:node": "c8 ts-mocha -p tsconfig.json test/**/*.ts",
"test": "nyc ts-mocha -p tsconfig.json test/**/*.ts",
"tdd": "yarn test -- --watch-extensions ts --watch",
"codecov": "c8 report --reporter=json && codecov -f coverage/*.json -p ../../",
"codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../",
"clean": "rimraf build/*",
"check": "gts check",
"compile": "tsc -p .",
Expand Down Expand Up @@ -40,10 +40,10 @@
"devDependencies": {
"@types/mocha": "^5.2.5",
"@types/node": "^12.6.8",
"c8": "^5.0.1",
"codecov": "^3.1.0",
"gts": "^1.0.0",
"mocha": "^6.1.0",
"nyc": "^14.1.1",
"ts-mocha": "^6.0.0",
"ts-node": "^8.0.0",
"typescript": "^3.4.5"
Expand Down
7 changes: 3 additions & 4 deletions packages/opentelemetry-core/package.json
Expand Up @@ -9,13 +9,12 @@
"types": "build/src/index.d.ts",
"repository": "open-telemetry/opentelemetry-js",
"scripts": {
"test": "yarn test:node && yarn test:browser",
"test:node": "c8 ts-mocha -p tsconfig.json test/**/*.ts",
"test": "nyc ts-mocha -p tsconfig.json test/**/*.ts",
"test:browser": "karma start --single-run",
"tdd": "yarn tdd:node",
"tdd:node": "yarn test -- --watch-extensions ts --watch",
"tdd:browser": "karma start",
"codecov": "c8 report --reporter=json && codecov -f coverage/*.json -p ../../",
"codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../",
"clean": "rimraf build/*",
"check": "gts check",
"compile": "tsc -p .",
Expand Down Expand Up @@ -48,7 +47,6 @@
"@types/mocha": "^5.2.5",
"@types/node": "^12.6.8",
"@types/webpack-env": "1.13.9",
"c8": "^5.0.1",
"codecov": "^3.1.0",
"gts": "^1.0.0",
"karma": "^4.1.0",
Expand All @@ -57,6 +55,7 @@
"karma-spec-reporter": "^0.0.32",
"karma-webpack": "^4.0.2",
"mocha": "^6.1.0",
"nyc": "^14.1.1",
"ts-loader": "^6.0.4",
"ts-mocha": "^6.0.0",
"ts-node": "^8.0.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/opentelemetry-node-tracer/package.json
Expand Up @@ -6,9 +6,9 @@
"types": "build/src/index.d.ts",
"repository": "open-telemetry/opentelemetry-js",
"scripts": {
"test:node": "c8 ts-mocha -p tsconfig.json test/**/*.ts",
"test": "nyc ts-mocha -p tsconfig.json test/**/*.ts",
"tdd": "yarn test -- --watch-extensions ts --watch",
"codecov": "c8 report --reporter=json && codecov -f coverage/*.json -p ../../",
"codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../",
"clean": "rimraf build/*",
"check": "gts check",
"compile": "tsc -p .",
Expand Down Expand Up @@ -40,10 +40,10 @@
"devDependencies": {
"@types/mocha": "^5.2.5",
"@types/node": "^12.6.8",
"c8": "^5.0.1",
"codecov": "^3.1.0",
"gts": "^1.0.0",
"mocha": "^6.1.0",
"nyc": "^14.1.1",
"ts-mocha": "^6.0.0",
"ts-node": "^8.0.0",
"typescript": "^3.4.5"
Expand Down
5 changes: 2 additions & 3 deletions packages/opentelemetry-plugin-grpc/package.json
Expand Up @@ -6,9 +6,8 @@
"types": "build/src/index.d.ts",
"repository": "open-telemetry/opentelemetry-js",
"scripts": {
"test": "c8 ts-mocha -p tsconfig.json test/**/*.ts",
"test": "nyc ts-mocha -p tsconfig.json test/**/*.ts",
"tdd": "yarn test -- --watch-extensions ts --watch",
"codecov": "c8 report --reporter=json && codecov -f coverage/*.json -p ../../",
"clean": "rimraf build/*",
"check": "gts check",
"compile": "tsc -p .",
Expand Down Expand Up @@ -41,10 +40,10 @@
"devDependencies": {
"@types/mocha": "^5.2.7",
"@types/node": "^12.6.9",
"c8": "^5.0.1",
"codecov": "^3.5.0",
"gts": "^1.1.0",
"mocha": "^6.2.0",
"nyc": "^14.1.1",
"ts-mocha": "^6.0.0",
"ts-node": "^8.3.0",
"typescript": "^3.5.3"
Expand Down
5 changes: 2 additions & 3 deletions packages/opentelemetry-plugin-http/package.json
Expand Up @@ -6,9 +6,8 @@
"types": "build/src/index.d.ts",
"repository": "open-telemetry/opentelemetry-js",
"scripts": {
"test": "c8 ts-mocha -p tsconfig.json test/**/*.ts",
"test": "nyc ts-mocha -p tsconfig.json test/**/*.ts",
"tdd": "yarn test -- --watch-extensions ts --watch",
"codecov": "c8 report --reporter=json && codecov -f coverage/*.json -p ../../",
"clean": "rimraf build/*",
"check": "gts check",
"compile": "tsc -p .",
Expand Down Expand Up @@ -41,10 +40,10 @@
"devDependencies": {
"@types/mocha": "^5.2.7",
"@types/node": "^12.6.9",
"c8": "^5.0.1",
"codecov": "^3.5.0",
"gts": "^1.1.0",
"mocha": "^6.2.0",
"nyc": "^14.1.1",
"ts-mocha": "^6.0.0",
"ts-node": "^8.3.0",
"typescript": "^3.5.3"
Expand Down
6 changes: 3 additions & 3 deletions packages/opentelemetry-scope-async-hooks/package.json
Expand Up @@ -6,9 +6,9 @@
"types": "build/src/index.d.ts",
"repository": "open-telemetry/opentelemetry-js",
"scripts": {
"test:node": "c8 ts-mocha -p tsconfig.json test/**/*.ts",
"test": "nyc ts-mocha -p tsconfig.json test/**/*.ts",
"tdd": "yarn test -- --watch-extensions ts --watch",
"codecov": "c8 report --reporter=json && codecov -f coverage/*.json -p ../../",
"codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../",
"clean": "rimraf build/*",
"check": "gts check",
"compile": "tsc -p .",
Expand Down Expand Up @@ -41,10 +41,10 @@
"@types/mocha": "^5.2.5",
"@types/node": "^12.6.8",
"@types/shimmer": "^1.0.1",
"c8": "^5.0.1",
"codecov": "^3.1.0",
"gts": "^1.0.0",
"mocha": "^6.1.0",
"nyc": "^14.1.1",
"ts-mocha": "^6.0.0",
"ts-node": "^8.0.0",
"typescript": "^3.4.5"
Expand Down
6 changes: 3 additions & 3 deletions packages/opentelemetry-scope-base/package.json
Expand Up @@ -6,9 +6,9 @@
"types": "build/src/index.d.ts",
"repository": "open-telemetry/opentelemetry-js",
"scripts": {
"test:node": "c8 ts-mocha -p tsconfig.json test/**/*.ts",
"test": "nyc ts-mocha -p tsconfig.json test/**/*.ts",
"tdd": "yarn test -- --watch-extensions ts --watch",
"codecov": "c8 report --reporter=json && codecov -f coverage/*.json -p ../../",
"codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../",
"clean": "rimraf build/*",
"check": "gts check",
"compile": "tsc -p .",
Expand Down Expand Up @@ -40,10 +40,10 @@
"devDependencies": {
"@types/mocha": "^5.2.5",
"@types/node": "^12.6.8",
"c8": "^5.0.1",
"codecov": "^3.1.0",
"gts": "^1.0.0",
"mocha": "^6.1.0",
"nyc": "^14.1.1",
"ts-mocha": "^6.0.0",
"ts-node": "^8.0.0",
"typescript": "^3.4.5"
Expand Down

0 comments on commit a1de3b7

Please sign in to comment.