chore: add travis (#27)

This commit is contained in:
Henrique Dias 2018-08-07 13:44:35 +01:00 committed by GitHub
parent 157b2da133
commit c12adbb594
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 22 deletions

View File

@ -1,22 +0,0 @@
version: 2
jobs:
build:
docker:
- image: circleci/node:9.4
working_directory: ~/repo
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
- v1-dependencies-
- run: yarn install
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}
- run: |
yarn lint
yarn build

6
.travis.yml Normal file
View File

@ -0,0 +1,6 @@
language: node_js
node_js:
- 10.8.0
script:
- npm run lint
- npm run build