Replace travis with circleci
This commit is contained in:
parent
6b4f927f4f
commit
49b80e4722
2 changed files with 17 additions and 23 deletions
17
.circleci/config.yml
Normal file
17
.circleci/config.yml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
version: 2
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
docker:
|
||||||
|
- image: node:6-alpine
|
||||||
|
working_directory: ~/mv-lite
|
||||||
|
steps:
|
||||||
|
- run:
|
||||||
|
name: Install SSH & Git
|
||||||
|
command: apk add --no-cache bash git openssh
|
||||||
|
- checkout
|
||||||
|
- run:
|
||||||
|
name: Install dependancies
|
||||||
|
command: npm install
|
||||||
|
- run:
|
||||||
|
name: Run tests
|
||||||
|
command: npm test
|
23
.travis.yml
23
.travis.yml
|
@ -1,23 +0,0 @@
|
||||||
language: node_js
|
|
||||||
|
|
||||||
os:
|
|
||||||
- linux
|
|
||||||
- osx
|
|
||||||
|
|
||||||
env:
|
|
||||||
- SKIP_DTRACE=1
|
|
||||||
|
|
||||||
node_js:
|
|
||||||
- '0.10'
|
|
||||||
- '0.12'
|
|
||||||
- '4'
|
|
||||||
- '5'
|
|
||||||
- '6'
|
|
||||||
- 'node'
|
|
||||||
|
|
||||||
|
|
||||||
# Gives us faster boot time, see https://docs.travis-ci.com/user/ci-environment/
|
|
||||||
sudo: false
|
|
||||||
|
|
||||||
script:
|
|
||||||
- npm test
|
|
Loading…
Reference in a new issue