From dc3ba676a035c42ea7fb674bce7f29d0a8fbbbce Mon Sep 17 00:00:00 2001 From: Ffloriel Date: Wed, 23 May 2018 00:34:37 +0100 Subject: [PATCH] update ci config - update travis ci to node 8 - update to circieci 2.0 --- .circleci/config.yml | 16 ++++++++++++++++ .travis.yml | 2 +- circle.yml | 6 ------ 3 files changed, 17 insertions(+), 7 deletions(-) create mode 100644 .circleci/config.yml delete mode 100644 circle.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..a2adf1b --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,16 @@ +version: 2 +jobs: + build: + docker: + - image: circleci/node:8.9.1 + steps: + - checkout + - run: + name: install + command: npm i + - run: + name: lint + command: npm run lint + - run: + name: test + command: npm test -- --coverage \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 4ed1b90..98c86f7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,3 @@ language: node_js node_js: - - "7" \ No newline at end of file + - "8" \ No newline at end of file diff --git a/circle.yml b/circle.yml deleted file mode 100644 index 9905398..0000000 --- a/circle.yml +++ /dev/null @@ -1,6 +0,0 @@ -machine: - node: - version: 6.11.0 -dependencies: - override: - - npm i