-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from Agoric/move-to-circle-ci
remove .travis.yml, add .circleci/config.yml
- Loading branch information
Showing
2 changed files
with
26 additions
and
13 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,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 |
This file was deleted.
Oops, something went wrong.