Skip to content

Commit 9cee599

Browse files
committed
Include functional test in build
1 parent f201aa2 commit 9cee599

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@ before_install:
1111

1212
script:
1313
- npm run build
14-
- npm run test-functional
1514

1615
after_success: npm run coverage

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"description": "Temporary Containers",
55
"scripts": {
66
"coverage": "nyc report --reporter=text-lcov | coveralls",
7-
"build": "rm -rf web-ext-artifacts && cp README.md LICENSE src && npm run lint && npm test && web-ext build -s src && addons-linter web-ext-artifacts/temporary_containers-*.zip && ncu",
8-
"build-sign": "rm -rf web-ext-artifacts && cp README.md LICENSE src && node build-sign.js && npm run lint && npm test && web-ext sign --channel unlisted -s src && git checkout -- src/manifest.json && ncu",
7+
"build": "rm -rf web-ext-artifacts && cp README.md LICENSE src && npm run lint && npm test && npm run test-functional && web-ext build -s src && addons-linter web-ext-artifacts/temporary_containers-*.zip && ncu",
8+
"build-sign": "rm -rf web-ext-artifacts && cp README.md LICENSE src && node build-sign.js && npm run lint && npm test && npm run test-functional && web-ext sign --channel unlisted -s src && git checkout -- src/manifest.json && ncu",
99
"lint": "eslint src",
1010
"test": "nyc --reporter=html --reporter=text mocha --reporter=dot ./test/setup.js test/*.test.js --timeout 60000",
1111
"test-watch": "mocha ./test/setup.js test/*.test.js --watch --tmp-debug",

0 commit comments

Comments
 (0)