Skip to content

Commit

Permalink
starting parallel chrome unit tests on travis for "concurrently" usin…
Browse files Browse the repository at this point in the history
…g simple npm-run-all
  • Loading branch information
yogeshgadge committed Oct 10, 2017
1 parent fa37e33 commit 330db67
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ before_script:
jobs:
include:
- stage: build & linting & test
script: npm run ci
script: npm run ready
- stage : publish
script: echo "Publishing to Github..."
script: npm run build:demo
Expand Down
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"test:lib": "ng test --app lib",
"test:lib:once": "ng test --app lib --watch=false",
"e2e:demo": "ng e2e --app demo --watch=false",
"ci": "concurrently --kill-others-on-fail --names \"BUILD,LINTING,KARMA-UNIT,E2E-DEMO\" -c \"bgBlue.bold,bgCyan.bold,bgGreen.bold\" \"npm run build:lib\" \"npm run lint\" \"npm run test:once\" \"npm run e2e:demo\"",
"test:once": "concurrently --kill-others-on-fail --names \"KARMA-LIB,KARMA-DEMO\" -c \"bgBlue.bold,bgGreen.bold\" \"npm run test:lib:once\" \"npm run test:demo:once\"",
"ready": "npm-run-all --parallel build:lib lint test:once e2e:demo",
"test:once": "npm-run-all --serial test:lib:once test:demo:once",
"postinstall": "node postinstall.js"
},
"dependencies": {
Expand Down Expand Up @@ -59,15 +59,23 @@
"zone.js": "0.8.18"
},
"devDependencies": {
"@angular/animations": "4.4.4",
"@angular/cli": "1.4.5",
"@angular/common": "4.4.4",
"@angular/compiler": "4.4.4",
"@angular/compiler-cli": "4.4.4",
"@angular/core": "4.4.4",
"@angular/forms": "4.4.4",
"@angular/http": "4.4.4",
"@angular/language-service": "4.4.4",
"@angular/platform-browser": "4.4.4",
"@angular/platform-browser-dynamic": "4.4.4",
"@angular/router": "4.4.4",
"@compodoc/compodoc": "1.0.1",
"@types/jasmine": "2.6.0",
"@types/jasminewd2": "2.0.3",
"@types/node": "8.0.33",
"codelyzer": "3.2.1",
"concurrently": "3.5.0",
"core-js": "2.5.1",
"es6-shim": "0.35.3",
"jasmine-core": "2.8.0",
Expand All @@ -79,25 +87,17 @@
"karma-jasmine": "1.1.0",
"karma-jasmine-html-reporter": "0.2.2",
"ngx-library-builder": "1.1.3",
"npm-run-all": "^4.1.1",
"plugin-typescript": "7.1.0",
"protractor": "5.1.2",
"replace": "0.3.0",
"rxjs": "5.4.3",
"standard-version": "4.2.0",
"tota11y": "0.1.6",
"ts-node": "3.3.0",
"tslint": "5.7.0",
"typescript": "2.5.3",
"zone.js": "0.8.18",
"@angular/animations": "4.4.4",
"@angular/common": "4.4.4",
"@angular/compiler": "4.4.4",
"@angular/core": "4.4.4",
"@angular/forms": "4.4.4",
"@angular/http": "4.4.4",
"@angular/platform-browser": "4.4.4",
"@angular/platform-browser-dynamic": "4.4.4",
"@angular/router": "4.4.4",
"rxjs": "5.4.3"
"zone.js": "0.8.18"
},
"engines": {
"node": ">=8.0.0"
Expand Down

0 comments on commit 330db67

Please sign in to comment.