Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 74 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
version: 2.1

commands:
runtests:
description: Run tests using npm
steps:
- run:
name: NodeJS version
command: node -v

# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package.json" }}

- run: yarn install

- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package.json" }}

# run tests!
- run: yarn test

jobs:
node-current:
docker:
- image: circleci/node:current

working_directory: ~/customerio-node

steps:
- checkout
- runtests

node-dubnium: # EOL 2021-04-01
docker:
- image: circleci/node:dubnium

working_directory: ~/customerio-node

steps:
- checkout
- runtests

node-carbon: # EOL 2019-12-31
docker:
- image: circleci/node:carbon

working_directory: ~/customerio-node

steps:
- checkout
- runtests

node-boron: # EOL 2019-04-01
docker:
- image: circleci/node:boron

working_directory: ~/customerio-node

steps:
- checkout
- runtests

workflows:
version: 2
test:
jobs:
- node-current
- node-dubnium
- node-carbon
- node-boron
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
[![Build Status](https://travis-ci.org/customerio/customerio-node.svg)](https://travis-ci.org/customerio/customerio-node)

# Customerio
# Customerio [![CircleCI](https://circleci.com/gh/customerio/customerio-node.svg?style=svg)](https://circleci.com/gh/customerio/customerio-node)

A node client for the Customer.io [REST API](https://learn.customer.io/api/).

Expand Down