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