From 6d0057b044b1ad78d3e1edf53dd0c7f26d25a07e Mon Sep 17 00:00:00 2001 From: Michael Spaxman Date: Thu, 17 Sep 2020 11:02:50 -0400 Subject: [PATCH] fix(ci): try upgrading from travisci to circleci --- .circleci/config.yml | 29 +++++++++++++++++++++++++++++ .travis.yml | 4 ---- README.md | 3 ++- 3 files changed, 31 insertions(+), 5 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..81b7090 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,29 @@ +version: 2 + +jobs: + test: + docker: + - image: circleci/node:11.10.1 + working_directory: ~/repo + steps: + - checkout + - restore_cache: + key: dependency-cache-{{ checksum "package.json" }} + - run: + name: Install NPM Packages + command: | + npm install + - run: + name: Unit Tests + command: | + npm test + - save_cache: + key: dependency-cache-{{ checksum "package.json" }} + paths: + - ./node_modules + +workflows: + version: 2 + test_databox: + jobs: + - test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index bfab963..0000000 --- a/.travis.yml +++ /dev/null @@ -1,4 +0,0 @@ -sudo: false -language: node_js -node_js: - - "0.12" diff --git a/README.md b/README.md index 7e1238a..198263e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # databox-js -[![Build Status](https://travis-ci.org/databox/databox-js.svg)](https://travis-ci.org/databox/databox-js) +![seanforyou23](https://circleci.com/gh/seanforyou23/databox-js.svg?style=shield) + [![npm version](https://badge.fury.io/js/databox.svg)](https://badge.fury.io/js/databox) ## Installation