new travis matrix

This commit is contained in:
2017-03-10 11:58:38 -05:00
parent 63810f29d3
commit 6b5ec50ab9
2 changed files with 21 additions and 2 deletions
+5 -2
View File
@@ -2,5 +2,8 @@ language: bash
sudo: required
services:
- docker
install: docker pull heroku/cedar:14
script: make test
# install: docker pull heroku/cedar:14
script: ./tests.sh
env:
- STACK=heroku-16
- STACK=cedar-14
Executable
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env sh
if [[ ! "$STACK" ]]; then
echo '$STACK must be set! (heroku-16 | cedar-14)'
exit 1
fi
if [[ "$STACK" == "cedar-14" ]]; then
make test-cedar-14
exit $?
fi
if [[ "$STACK" == "heroku-16" ]]; then
make test-heroku-16
exit $?
fi