aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-03-28 04:36:09 +0800
committerkumavis <aaron@kumavis.me>2018-03-28 04:36:09 +0800
commit5a309328f1a1495034656f884e74ea6f1550d097 (patch)
tree8478509a7ca6d8e66b89c225b371580966cfd01c
parent8648aee907bb67e4a0e80ee6f67562046f302ef5 (diff)
downloadtangerine-wallet-browser-5a309328f1a1495034656f884e74ea6f1550d097.tar
tangerine-wallet-browser-5a309328f1a1495034656f884e74ea6f1550d097.tar.gz
tangerine-wallet-browser-5a309328f1a1495034656f884e74ea6f1550d097.tar.bz2
tangerine-wallet-browser-5a309328f1a1495034656f884e74ea6f1550d097.tar.lz
tangerine-wallet-browser-5a309328f1a1495034656f884e74ea6f1550d097.tar.xz
tangerine-wallet-browser-5a309328f1a1495034656f884e74ea6f1550d097.tar.zst
tangerine-wallet-browser-5a309328f1a1495034656f884e74ea6f1550d097.zip
ci - run e2e jobs
-rw-r--r--.circleci/config.yml17
-rw-r--r--package.json2
2 files changed, 18 insertions, 1 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index c14909783..8ebf569a5 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -12,6 +12,9 @@ workflows:
- test-lint:
requires:
- prep-deps-npm
+ - test-e2e:
+ requires:
+ - prep-deps-npm
- test-unit:
requires:
- prep-deps-npm
@@ -96,6 +99,20 @@ jobs:
name: Test
command: npm run lint
+ test-e2e:
+ docker:
+ - image: circleci/node:8-browsers
+ steps:
+ - checkout
+ - restore_cache:
+ key: dependency-cache-{{ checksum "package-lock.json" }}
+ - run:
+ name: Build
+ command: npm run dist
+ - run:
+ name: Test
+ command: npm run test:e2e
+
test-unit:
docker:
- image: circleci/node:8-browsers
diff --git a/package.json b/package.json
index 09e90ec59..0e5456b1f 100644
--- a/package.json
+++ b/package.json
@@ -17,7 +17,7 @@
"test:single": "cross-env METAMASK_ENV=test mocha --require test/helper.js",
"test:integration": "npm run test:integration:build && npm run test:flat && npm run test:mascara",
"test:integration:build": "gulp build:scss",
- "test:e2e": "METAMASK_ENV=test mocha test/e2e/metamask.spec --recursive || true",
+ "test:e2e": "METAMASK_ENV=test mocha test/e2e/metamask.spec --recursive",
"test:coverage": "nyc npm run test:unit && npm run test:coveralls-upload",
"test:coveralls-upload": "if [ $COVERALLS_REPO_TOKEN ]; then nyc report --reporter=text-lcov | coveralls; fi",
"test:flat": "npm run test:flat:build && karma start test/flat.conf.js",