Skip to content

Commit

Permalink
Merge pull request #17 from Agoric/move-to-circle-ci
Browse files Browse the repository at this point in the history
remove .travis.yml, add .circleci/config.yml
  • Loading branch information
katelynsills authored Feb 26, 2019
2 parents a53f0af + e76fd5b commit bc3f03f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 13 deletions.
26 changes: 26 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: 2.0
jobs:
build:
docker:
- image: circleci/node:11
steps:
- checkout # special step to check out source code to working directory
- run:
name: Update npm
command: 'sudo npm install -g npm@latest'
- restore_cache: # special step to restore the dependency cache
# Read about caching dependencies: https://circleci.com/docs/2.0/caching/
key: dependency-cache-{{ checksum "package.json" }}
- run:
name: Install npm
command: npm install
- save_cache: # special step to save the dependency cache
key: dependency-cache-{{ checksum "package.json" }}
paths:
- ./node_modules
- run:
name: Lint
command: npm run lint
- run:
name: Test
command: npm test
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

0 comments on commit bc3f03f

Please sign in to comment.