From 5e6c5d82fa5d79173b6ac0ed7dbef2f559520860 Mon Sep 17 00:00:00 2001 From: Paul Woolcock Date: Sat, 9 Mar 2019 08:12:08 -0500 Subject: [PATCH] add circle-ci config --- .circleci/config.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..5f6d998 --- /dev/null +++ b/.circleci/config.yml @@ -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"