Skip to content

Commit

Permalink
Merge pull request #15 from FinBook/npm
Browse files Browse the repository at this point in the history
  • Loading branch information
yizhoucao committed Jan 30, 2019
2 parents 8435f6c + b0e1ca0 commit ab7ec91
Show file tree
Hide file tree
Showing 14 changed files with 580 additions and 379 deletions.
26 changes: 13 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@ version: 2
jobs:
build:
working_directory: /home/circleci/duo-contract-wrapper
docker:
docker:
- image: circleci/node:8.11.1
steps:
- checkout
- run: cd /home/circleci/duo-contract-wrapper
- run:
name: Install npm wee
command: npm install
name: Install npm wee
command: npm install
- run:
name: test coverage
command: npm test -- --coverage
- run:
name: test coverage
command: npm test -- --coverage
- run :
name : post coverage
command: cat ./coverage/lcov.info | ./node_modules/.bin/coveralls
name: post coverage
command: cat ./coverage/lcov.info | ./node_modules/.bin/coveralls
- save_cache:
key: dependency-test-{{ .Environment.CIRCLE_SHA1 }}
paths:
- /home/circleci/duo-contract-wrapper
key: dependency-test-{{ .Environment.CIRCLE_SHA1 }}
paths:
- /home/circleci/duo-contract-wrapper
deploy:
docker:
- image: circleci/python:2.7-jessie
Expand All @@ -46,5 +46,5 @@ workflows:
jobs:
- build
- deploy:
requires:
- build
requires:
- build
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ flow-typed
lilithEquities.json
sachielAssets.json
*.txt
keys
keys
*.tgz
Loading

0 comments on commit ab7ec91

Please sign in to comment.