diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-07-18 01:19:58 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@cobinhood.com> | 2018-07-18 01:30:12 +0800 |
commit | 86b33411b2681cdf9542a5a36704d15f835e6d48 (patch) | |
tree | 58d60fbef1dece8f5f436e38b9cfb634c5d855b8 | |
parent | 6140e1b135ee01d2d17ca98c5e79155ec5851842 (diff) | |
download | dexon-consensus-86b33411b2681cdf9542a5a36704d15f835e6d48.tar dexon-consensus-86b33411b2681cdf9542a5a36704d15f835e6d48.tar.gz dexon-consensus-86b33411b2681cdf9542a5a36704d15f835e6d48.tar.bz2 dexon-consensus-86b33411b2681cdf9542a5a36704d15f835e6d48.tar.lz dexon-consensus-86b33411b2681cdf9542a5a36704d15f835e6d48.tar.xz dexon-consensus-86b33411b2681cdf9542a5a36704d15f835e6d48.tar.zst dexon-consensus-86b33411b2681cdf9542a5a36704d15f835e6d48.zip |
project: setup circle CI
-rw-r--r-- | .circleci/config.yml | 18 | ||||
-rw-r--r-- | README.md | 6 |
2 files changed, 22 insertions, 2 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..390f5ba --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,18 @@ +version: 2 +jobs: + build: + docker: + - image: circleci/golang:1.10 + + working_directory: /go/src/github.com/dexon-foundation/dexon-consensus-core + + environment: + + steps: + - checkout + - run: bin/install_tools.sh + - run: dep ensure + - run: make lint + - run: make vet + - run: make test + - run: make @@ -1,3 +1,5 @@ +[](https://circleci.com/gh/dexon-foundation/dexon-consensus-core) + DEXON Consensus Core ==================== @@ -32,10 +34,10 @@ DEXON Consensus Core ``` You should write these settings to your `.bashrc` file. -### Run unit tests +### Run Unit Tests ``` -make test +make pre-submit ``` ## Simulation |