From 84271815590c79e39a6f9b5b4e8c94c7bcb012b3 Mon Sep 17 00:00:00 2001 From: yann300 Date: Fri, 2 Mar 2018 14:08:42 +0100 Subject: [PATCH] add circleci --- .circleci/config.yml | 85 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000000..bd4104fcb6 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,85 @@ +# Javascript Node CircleCI 2.0 configuration file +# +# Check https://circleci.com/docs/2.0/language-javascript/ for more details +# +version: 2 +jobs: + remix-lib: + docker: + - image: circleci/node:7.10 + environment: + working_directory: ~/repo + steps: + - checkout + - cd remix-lib + - restore_cache: + keys: + - dep-bundle-{{ checksum "package.json" }} + - run: npm install + - save_cache: + key: dep-bundle-{{ checksum "package.json" }} + paths: + - /repo/node_modules + - run: npm test + + remix-core: + docker: + - image: circleci/node:7.10 + environment: + working_directory: ~/repo + steps: + - checkout + - cd remix-core + - restore_cache: + keys: + - dep-bundle-{{ checksum "package.json" }} + - run: npm install + - save_cache: + key: dep-bundle-{{ checksum "package.json" }} + paths: + - /repo/node_modules + - run: npm test + + remix-solidity: + docker: + - image: circleci/node:7.10 + environment: + working_directory: ~/repo + steps: + - checkout + - cd remix-solidity + - restore_cache: + keys: + - dep-bundle-{{ checksum "package.json" }} + - run: npm install + - save_cache: + key: dep-bundle-{{ checksum "package.json" }} + paths: + - /repo/node_modules + - run: npm test + + remix-debugger: + docker: + - image: circleci/node:7.10 + environment: + working_directory: ~/repo + steps: + - checkout + - cd remix-debugger + - restore_cache: + keys: + - dep-bundle-{{ checksum "package.json" }} + - run: npm install + - save_cache: + key: dep-bundle-{{ checksum "package.json" }} + paths: + - /repo/node_modules + +workflows: + version: 2 + build_all: + jobs: + - remix-lib + - remix-core + - remix-solidity + - remix-debugger