Skip to content

Commit

Permalink
Create .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinschopf committed Feb 23, 2021
1 parent c0b614b commit 82156fc
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .travis.yml
@@ -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'

0 comments on commit 82156fc

Please sign in to comment.