add circle-ci config

This commit is contained in:
Paul Woolcock
2019-03-09 08:15:48 -05:00
parent 7786a83a14
commit 5e6c5d82fa
+21
View File
@@ -0,0 +1,21 @@
version: 2
jobs:
build:
docker:
- image: rust:latest
steps:
- checkout
- restore_cache:
key: project-cache
- run:
name: Stable Build
command: |
cargo --version --verbose
cargo build
- run:
name: Stable Test
command: cargo test
- save_cache:
key: project-cache
paths:
- "~/.cargo"