From a9e38b8bab4fc8532eccb9d97712bbf566a1fc6a Mon Sep 17 00:00:00 2001 From: Eduardo Diaz Date: Fri, 12 Apr 2019 19:47:26 +0200 Subject: [PATCH] ci: use circleci (#589) --- .circleci/config.yml | 71 ++++++++++++++++++++++++++++++++++++++++++++ .travis.yml | 11 ------- 2 files changed, 71 insertions(+), 11 deletions(-) create mode 100644 .circleci/config.yml delete mode 100644 .travis.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..04670d7 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,71 @@ +version: 2.1 + +# Thanks to https://github.com/teppeis-sandbox/circleci2-multiple-node-versions + +commands: + test-nodejs: + steps: + - run: + name: Versions + command: npm version + - checkout + - run: + name: Install dependencies + command: npm install + - run: + name: Test + command: npm test + +jobs: + node-v4: + docker: + - image: node:4 + steps: + - test-nodejs + node-v5: + docker: + - image: node:5 + steps: + - test-nodejs + node-v6: + docker: + - image: node:6 + steps: + - test-nodejs + node-v7: + docker: + - image: node:7 + steps: + - test-nodejs + node-v8: + docker: + - image: node:8 + steps: + - test-nodejs + node-v9: + docker: + - image: node:9 + steps: + - test-nodejs + node-v10: + docker: + - image: node:10 + steps: + - test-nodejs + node-v11: + docker: + - image: node:11 + steps: + - test-nodejs + +workflows: + node-multi-build: + jobs: + - node-v4 + - node-v5 + - node-v6 + - node-v7 + - node-v8 + - node-v9 + - node-v10 + - node-v11 \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 498d61d..0000000 --- a/.travis.yml +++ /dev/null @@ -1,11 +0,0 @@ -language: node_js -sudo: false -node_js: - - "11" - - "10" - - "9" - - "8" - - "7" - - "6" - - "5" - - "4"