Skip to content

Commit

Permalink
travis: Enable build with default Linux image Bash
Browse files Browse the repository at this point in the history
Since I'm paranoid that we might need to resolve an issue specific to
4.3.11(1)-release (or whatever the Bash version is in the stock Travis
Linux image). Also, I didn't want to hold up sstephenson#116 any longer with more
tiny requests.
  • Loading branch information
mbland committed Jul 3, 2018
1 parent 4b3c9e8 commit cb9dd1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ os:
- linux

env:
- BASHVER=
- BASHVER=3.2
- BASHVER=4.0
- BASHVER=4.1
Expand All @@ -20,7 +21,7 @@ services:

script:
- |
if [[ "$TRAVIS_OS_NAME" == 'linux' ]]; then
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
Expand Down

0 comments on commit cb9dd1d

Please sign in to comment.