Skip to content

Commit 4fdcbb2

Browse files
committed
feat(CI): Update travis steps. Run E2E Tests
1 parent aff34e0 commit 4fdcbb2

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ before_install:
1313
- sh -e /etc/init.d/xvfb start
1414

1515
script:
16-
- npm run test-cli
16+
- npm run build
17+
- npm test

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
"description": "A damn simple starter for Typescript and Webpack",
55
"main": "src/index.ts",
66
"scripts": {
7-
"start": "create-ts-lib app && cd app && npm start",
8-
"test": "cd app && npm test",
9-
"test-cli": "create-ts-lib app && cd app && npm test"
7+
"build": "lerna bootstrap",
8+
"test": "cd packages/e2e && npm test"
109
},
1110
"repository": {
1211
"type": "git",

packages/e2e/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "e2e",
33
"version": "1.0.0",
44
"description": "",
5+
"private": true,
56
"main": "index.js",
67
"scripts": {
78
"pretest": "rimraf app",

0 commit comments

Comments
 (0)