mirror of
https://github.com/sobolevn/git-secret
synced 2024-11-06 15:20:36 +00:00
35 lines
561 B
YAML
35 lines
561 B
YAML
|
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
|