From 319ada0c03db599d4f0d2250d80d06d6c9bde59e Mon Sep 17 00:00:00 2001 From: cgewecke Date: Thu, 11 Jul 2019 17:37:14 -0700 Subject: [PATCH] Add nightly e2e cron --- .circleci/config.yml | 36 +++++++++++++++++++++--------------- scripts/run-colony.sh | 3 --- 2 files changed, 21 insertions(+), 18 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 157665c..98e23d3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,20 +23,16 @@ jobs: bash <(curl -s https://codecov.io/bash) # This works but takes a while.... - # e2e-colony: - # docker: - # - image: circleci/node:10.12-stretch - # working_directory: ~/colonyNetwork - # branches: - # only: - # - master - # - next - # steps: - # - checkout - # - run: - # name: ColonyNetwork E2E - # command: | - # ./scripts/run-colony.sh + e2e-colony: + docker: + - image: circleci/node:10.12-stretch + working_directory: ~/colonyNetwork + steps: + - checkout + - run: + name: ColonyNetwork E2E + command: | + ./scripts/run-colony.sh # It would be nice if all this could be a shell script... :/ e2e-zeppelin: @@ -81,4 +77,14 @@ workflows: - unit-test - e2e-zeppelin - e2e-metacoin - #- e2e-colony + nightly: + triggers: + - schedule: + cron: "0 1 * * *" # 1am UTC + filters: + branches: + only: + - master + jobs: + - e2e-zeppelin + - e2e-colony diff --git a/scripts/run-colony.sh b/scripts/run-colony.sh index 6adfeab..1945119 100755 --- a/scripts/run-colony.sh +++ b/scripts/run-colony.sh @@ -23,6 +23,3 @@ git submodule update --init sed -i 's/docker: true,/ /g' truffle.js sudo yarn run provision:token:contracts sudo yarn run test:contracts:coverage - -# Trick to 'allowFailure' on CIRCLE -set -o errexit