Skip to content

Commit

Permalink
ci: use circleci (#589)
Browse files Browse the repository at this point in the history
  • Loading branch information
ziluvatar authored and panva committed Apr 12, 2019
1 parent 7f1f8b4 commit a9e38b8
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 11 deletions.
71 changes: 71 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -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
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

0 comments on commit a9e38b8

Please sign in to comment.