diff options
author | 2017-02-19 17:34:59 +0100 | |
---|---|---|
committer | 2017-02-19 18:18:30 +0100 | |
commit | a91a6c5406c55df9c2e396bbdf299731d13c4b30 (patch) | |
tree | adf27e26a558410382b15b5d7660f91c586429cb | |
parent | Test suite: Fix hostname (diff) | |
download | porticron-a91a6c5406c55df9c2e396bbdf299731d13c4b30.tar.gz porticron-a91a6c5406c55df9c2e396bbdf299731d13c4b30.tar.bz2 porticron-a91a6c5406c55df9c2e396bbdf299731d13c4b30.zip |
Configure Travis CI
-rwxr-xr-x | .travis.sh | 16 | ||||
-rw-r--r-- | .travis.yml | 2 |
2 files changed, 18 insertions, 0 deletions
diff --git a/.travis.sh b/.travis.sh new file mode 100755 index 0000000..382290f --- /dev/null +++ b/.travis.sh @@ -0,0 +1,16 @@ +#! /bin/bash +# Copyright (C) 2017 Sebastian Pipping <sebastian@pipping.org> +# Licensed under the 3-Clause BSD license +set -e + +PS4='# ' +set -x + + +# Install BATS that the test suite relies on +git clone --depth 1 https://github.com/sstephenson/bats.git +( cd bats && sudo ./install.sh /usr/local ) + + +# Run test suite +./test.bats diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..5980c4e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,2 @@ +language: bash +script: ./.travis.sh |