Skip to content

Commit

Permalink
fix(ci): added build and link steps in pretest hook
Browse files Browse the repository at this point in the history
  • Loading branch information
valorkin committed Dec 1, 2016
1 parent 8126b06 commit d813946
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ before_install:
- sh -e /etc/init.d/xvfb start

script:
- npm run build
- npm test

after_success:
Expand All @@ -17,7 +16,7 @@ after_success:
addons:
# sauce labs tunel connector (read more https://docs.travis-ci.com/user/sauce-connect/ )
sauce_connect: true
firefox: "42.0"
firefox: "latest"
apt:
sources:
- ubuntu-toolchain-r-test
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"pretest": "run-s build link",
"test": "ng test --watch false",
"preversion": "npm test",
"pree2e": "webdriver-manager update",
"wm-update": "webdriver-manager update",
"pree2e": "run-s wm-update build link",
"e2e": "protractor",
"e2e.saucelabs": "tsc -p ./demo/e2e/ && webdriver-manager update && protractor protractor.saucelabs.conf.js"
},
Expand Down Expand Up @@ -63,6 +64,7 @@
"bootstrap": "3.3.7",
"chokidar-cli": "1.2.0",
"codecov": "1.0.1",
"codelyzer": "^2.0.0-beta.1",
"conventional-changelog-cli": "1.2.0",
"conventional-github-releaser": "1.1.3",
"core-js": "2.4.1",
Expand Down Expand Up @@ -94,7 +96,7 @@
"rxjs": "5.0.0-beta.12",
"systemjs-builder": "0.15.34",
"ts-helpers": "1.1.2",
"codelyzer": "^2.0.0-beta.1",
"ts-node": "1.7.0",
"tslint": "^4.0.0",
"tslint-config-valorsoft": "1.2.0",
"typedoc": "0.5.1",
Expand Down

0 comments on commit d813946

Please sign in to comment.