-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(masonry): get tests passing with update cli commands
- Loading branch information
1 parent
37e41ef
commit b7e82c3
Showing
2 changed files
with
25 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,25 @@ | ||
dist: trusty | ||
sudo: false | ||
language: node_js | ||
node_js: | ||
- "8" | ||
os: | ||
- linux | ||
before_install: | ||
# Use a virtual display. | ||
- export DISPLAY=:99.0 | ||
- sh -e /etc/init.d/xvfb start | ||
# Install latest chrome. | ||
- export CHROME_BIN=chromium-browser | ||
|
||
addons: | ||
apt: | ||
sources: | ||
- google-chrome | ||
packages: | ||
- google-chrome-stable | ||
|
||
cache: | ||
directories: | ||
- ./node_modules | ||
|
||
install: | ||
- npm install --no-progress | ||
- npm i --no-progress | ||
|
||
script: | ||
# Use Chromium instead of Chrome. | ||
- export CHROME_BIN=chromium-browser | ||
- npm run lint | ||
- npm run test -- --no-progress --code-coverage --single-run | ||
- npm run e2e -- --no-progress | ||
- xvfb-run -a npm run test -- --watch false --code-coverage --browsers ChromeNoSandbox | ||
- xvfb-run -a npm run e2e | ||
- npm run coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters