run parallel

pull/3094/head
yann300 7 years ago
parent 845b245be0
commit d600f23cee
  1. 31
      .circleci/config.yml

@ -4,7 +4,7 @@
# #
version: 2 version: 2
jobs: jobs:
build: remix-ide:
docker: docker:
# specify the version you desire here # specify the version you desire here
- image: circleci/node:7.10 - image: circleci/node:7.10
@ -26,20 +26,37 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
keys: keys:
- dep-bundle-2-{{ checksum "package.json" }} - dep-bundle-4-{{ checksum "package.json" }}
- run: npm install - run: npm install
- save_cache: - save_cache:
key: dep-bundle-2-{{ checksum "package.json" }} key: dep-bundle-4-{{ checksum "package.json" }}
paths: paths:
- /repo/node_modules - ~/repo/node_modules
- run: npm run lint && npm run test && npm run downloadsolc && npm run make-mock-compiler && npm run build - run: npm run lint && npm run test && npm run downloadsolc && npm run make-mock-compiler && npm run build
- run: ./ci/browser_tests.sh - run: ./ci/browser_tests.sh
remix-debugger:
docker:
# specify the version you desire here
- image: circleci/node:7.10
working_directory: ~/repo
steps:
- checkout
- restore_cache:
keys:
- dep-bundle-3-{{ checksum "package.json" }}
- run: npm install
- save_cache:
key: dep-bundle-3-{{ checksum "package.json" }}
paths:
- ~/repo/node_modules
- run: cd src/app/debugger/remix-debugger && ./ci/browser_tests.sh - run: cd src/app/debugger/remix-debugger && ./ci/browser_tests.sh
# - run: if [ $CIRCLE_BRANCH = 'master' ]; then ./ci/deploy_from_travis_master.sh; fi
# - run: if [ $CIRCLE_BRANCH = 'remix_live' ]; then ./ci/deploy_from_travis_master.sh; fi
workflows: workflows:
version: 2 version: 2
build_all: build_all:
jobs: jobs:
- build - remix-ide
- remix-debugger
Loading…
Cancel
Save