version: 2.0 jobs: unit-test: docker: - image: circleci/node:8.15.0 steps: - checkout - run: name: Delete any old node_modules command: | rm -rf node_modules/ - run: name: Install dependencies command: | yarn - run: name: Get submodules command: | git submodule update --init - run: name: Run tests command: | npm run test-cov - run: name: Upload coverage command: | 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-zeppelin: docker: - image: circleci/node:10.12-stretch steps: - checkout - run: name: OpenZeppelin E2E command: | sudo URL=$CIRCLE_REPOSITORY_URL BRANCH=$CIRCLE_BRANCH ./scripts/run-zeppelin.sh workflows: version: 2 build: jobs: - unit-test - e2e-zeppelin #- e2e-colony