From 4fdcbb2a4d140b70c0567dadb9328e4412f92a67 Mon Sep 17 00:00:00 2001 From: Yann Renaudin Date: Fri, 9 Feb 2018 23:20:37 -0500 Subject: [PATCH] feat(CI): Update travis steps. Run E2E Tests --- .travis.yml | 3 ++- package.json | 5 ++--- packages/e2e/package.json | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 564f1e5..adfb5aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,4 +13,5 @@ before_install: - sh -e /etc/init.d/xvfb start script: - - npm run test-cli \ No newline at end of file + - npm run build + - npm test \ No newline at end of file diff --git a/package.json b/package.json index 4f81c50..c5589b9 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/packages/e2e/package.json b/packages/e2e/package.json index 7b8bb93..961cb86 100644 --- a/packages/e2e/package.json +++ b/packages/e2e/package.json @@ -2,6 +2,7 @@ "name": "e2e", "version": "1.0.0", "description": "", + "private": true, "main": "index.js", "scripts": { "pretest": "rimraf app",