git-secret/vendor/bats-core/.travis.yml

35 lines
561 B
YAML
Raw Normal View History

language: bash
os:
- linux
env:
- BASHVER=
- BASHVER=3.2
- BASHVER=4.0
- BASHVER=4.1
- BASHVER=4.2
- BASHVER=4.3
- BASHVER=4.4
matrix:
include:
- os: osx
services:
- docker
script:
- |
if [[ "$TRAVIS_OS_NAME" == 'linux' && -n "$BASHVER" ]]; then
docker build --build-arg bashver=${BASHVER} --tag bats/bats:bash-${BASHVER} .
docker run -it bash:${BASHVER} --version
time docker run -it bats/bats:bash-${BASHVER} --tap /opt/bats/test
else
time bin/bats --tap test
fi
notifications:
email:
on_success: never