aboutsummaryrefslogtreecommitdiffstats
path: root/circle.yml
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-11-13 23:56:22 +0800
committerFabio Berger <me@fabioberger.com>2017-11-13 23:56:22 +0800
commite6482554f59fa36e9466c01c62af026d62d09ea1 (patch)
tree951ea7134b169d46945d7fd63052611f833915f7 /circle.yml
parentc4ee2d73865a1444c079b9e2836b7630a0adf03e (diff)
downloaddexon-sol-tools-e6482554f59fa36e9466c01c62af026d62d09ea1.tar
dexon-sol-tools-e6482554f59fa36e9466c01c62af026d62d09ea1.tar.gz
dexon-sol-tools-e6482554f59fa36e9466c01c62af026d62d09ea1.tar.bz2
dexon-sol-tools-e6482554f59fa36e9466c01c62af026d62d09ea1.tar.lz
dexon-sol-tools-e6482554f59fa36e9466c01c62af026d62d09ea1.tar.xz
dexon-sol-tools-e6482554f59fa36e9466c01c62af026d62d09ea1.tar.zst
dexon-sol-tools-e6482554f59fa36e9466c01c62af026d62d09ea1.zip
Add circle.yml and move testrpc command to top-level repo
Diffstat (limited to 'circle.yml')
-rw-r--r--circle.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/circle.yml b/circle.yml
new file mode 100644
index 000000000..035b2e155
--- /dev/null
+++ b/circle.yml
@@ -0,0 +1,23 @@
+machine:
+ node:
+ version: 6.5.0
+ environment:
+ CONTRACTS_COMMIT_HASH: '78fe8dd'
+ PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
+
+dependencies:
+ override:
+ - yarn
+ cache_directories:
+ - ~/.cache/yarn
+
+test:
+ override:
+ - wget https://s3.amazonaws.com/testrpc-shapshots/${CONTRACTS_COMMIT_HASH}.zip
+ - unzip ${CONTRACTS_COMMIT_HASH}.zip -d testrpc_snapshot
+ - npm run testrpc -- --db testrpc_snapshot:
+ background: true
+ - lerna run test:coverage
+ - lerna run report_test_coverage
+ - if [ $CIRCLE_BRANCH = "master" ]; then lerna run test:umd; fi
+ - lerna run lint