added travis.ci support

This commit is contained in:
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 Normal file
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 Executable file
View File

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