Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c0b614b
commit 82156fc
Showing
1 changed file
with
37 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
language: node_js | ||
node_js: | ||
- 'node' | ||
|
||
addons: | ||
apt: | ||
packages: | ||
# Ubuntu 16+ does not install this dependency by default, so we need to install it ourselves | ||
- libgconf-2-4 | ||
|
||
branches: | ||
only: | ||
- master | ||
|
||
cache: | ||
directories: | ||
- node_modules | ||
# Cypress binary | ||
- ~/.cache | ||
|
||
jobs: | ||
include: | ||
- stage: 'Lint' | ||
name: 'Prettier' | ||
script: yarn lint:prettier | ||
- script: yarn lint:tslint && yarn lint:tsc | ||
name: 'TypeScript' | ||
- stage: 'Tests' | ||
name: 'Unit Tests' | ||
script: yarn test && cat ./coverage/lcov.info | node_modules/.bin/coveralls --verbose | ||
- name: 'E2E Tests' | ||
script: yarn build && yarn test:e2e | ||
- stage: 'Build' | ||
name: 'Package' | ||
script: yarn build | ||
- script: rm -rf ./node_modules && cd ./examples && yarn && yarn build | ||
name: 'Examples' |