From c28d35699483d7da18e954016dd863f3a791f2d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Cidre?= Date: Tue, 4 Apr 2017 21:24:15 +0200 Subject: [PATCH] Centralized tests --- .ernest-ci | 1 + circle.yml | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .ernest-ci diff --git a/.ernest-ci b/.ernest-ci new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/.ernest-ci @@ -0,0 +1 @@ + diff --git a/circle.yml b/circle.yml index 56f20d8..9517679 100644 --- a/circle.yml +++ b/circle.yml @@ -1,8 +1,15 @@ +machine: + environment: + ROOTPATH: /home/ubuntu/.go_workspace/src/github.com/ernestio dependencies: pre: - make dev-deps + - mkdir -p $ROOTPATH/ + - rm -rf $ROOTPATH/toolset/ && git clone git@github.com:ernestio/toolset.git $ROOTPATH/toolset/ + - cd $ROOTPATH/toolset/ernestci/ && bundle install test: override: - - make lint - make test + - ruby $ROOTPATH/toolset/ernestci/run.rb .ernest-ci + - make lint