Skip to content

Commit

Permalink
feat(CI): Update travis steps. Run E2E Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
emyann committed Feb 10, 2018
1 parent aff34e0 commit 4fdcbb2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ before_install:
- sh -e /etc/init.d/xvfb start

script:
- npm run test-cli
- npm run build
- npm test
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
"description": "A damn simple starter for Typescript and Webpack",
"main": "src/index.ts",
"scripts": {
"start": "create-ts-lib app && cd app && npm start",
"test": "cd app && npm test",
"test-cli": "create-ts-lib app && cd app && npm test"
"build": "lerna bootstrap",
"test": "cd packages/e2e && npm test"
},
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions packages/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "e2e",
"version": "1.0.0",
"description": "",
"private": true,
"main": "index.js",
"scripts": {
"pretest": "rimraf app",
Expand Down

0 comments on commit 4fdcbb2

Please sign in to comment.