Skip to content

Commit 319ada0

Browse files
committed
Add nightly e2e cron
1 parent a6e6461 commit 319ada0

File tree

2 files changed

+21
-18
lines changed

2 files changed

+21
-18
lines changed

.circleci/config.yml

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,16 @@ jobs:
2323
bash <(curl -s https://codecov.io/bash)
2424
2525
# This works but takes a while....
26-
# e2e-colony:
27-
# docker:
28-
# - image: circleci/node:10.12-stretch
29-
# working_directory: ~/colonyNetwork
30-
# branches:
31-
# only:
32-
# - master
33-
# - next
34-
# steps:
35-
# - checkout
36-
# - run:
37-
# name: ColonyNetwork E2E
38-
# command: |
39-
# ./scripts/run-colony.sh
26+
e2e-colony:
27+
docker:
28+
- image: circleci/node:10.12-stretch
29+
working_directory: ~/colonyNetwork
30+
steps:
31+
- checkout
32+
- run:
33+
name: ColonyNetwork E2E
34+
command: |
35+
./scripts/run-colony.sh
4036
4137
# It would be nice if all this could be a shell script... :/
4238
e2e-zeppelin:
@@ -81,4 +77,14 @@ workflows:
8177
- unit-test
8278
- e2e-zeppelin
8379
- e2e-metacoin
84-
#- e2e-colony
80+
nightly:
81+
triggers:
82+
- schedule:
83+
cron: "0 1 * * *" # 1am UTC
84+
filters:
85+
branches:
86+
only:
87+
- master
88+
jobs:
89+
- e2e-zeppelin
90+
- e2e-colony

scripts/run-colony.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,3 @@ git submodule update --init
2323
sed -i 's/docker: true,/ /g' truffle.js
2424
sudo yarn run provision:token:contracts
2525
sudo yarn run test:contracts:coverage
26-
27-
# Trick to 'allowFailure' on CIRCLE
28-
set -o errexit

0 commit comments

Comments
 (0)