Add node testing and running tests in docker

This commit is contained in:
Marko Klemetti 2017-05-06 15:40:07 +03:00
parent 86dff8f9bf
commit 285b49e565
2 changed files with 9 additions and 0 deletions

View File

@ -1,4 +1,10 @@
sudo: required
language: node_js
services:
- docker
before_install:
- docker build -t mrako/wait-for .
- docker run mrako/wait-for

View File

@ -1,4 +1,7 @@
{
"scripts": {
"test": "./node_modules/.bin/bats wait-for.bats"
},
"dependencies": {
"bats": "^0.4.2"
}