added travis.ci support

pull/440/head
Ivan Povalyukhin 2015-03-28 18:50:05 -07:00
parent 3c0db284ac
commit 62d705ab50
2 changed files with 8 additions and 0 deletions

4
.travis.yml 100644
View File

@ -0,0 +1,4 @@
sudo: false
install: git clone --depth 1 https://github.com/sstephenson/bats.git
script: PATH="./bats/bin:$PATH" test/run
language: c

4
test/run 100755
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
set -e
exec bats ${CI:+--tap} test/{lib,plugins}