Skip to content

Commit c7123e7

Browse files
Print shell versions on Travis CI tests
1 parent 3288c96 commit c7123e7

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

β€Ž.travis.ymlβ€Ž

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ matrix:
3535
apt:
3636
packages:
3737
- zsh
38+
before_script:
39+
- type zsh && zsh --version
3840
script:
3941
- ./test-scripts/zsh
4042
- env:
@@ -43,10 +45,14 @@ matrix:
4345
apt:
4446
packages:
4547
- ksh
48+
before_script:
49+
- type ksh && ksh --version || printf ""
4650
script:
4751
- ./test-scripts/ksh
4852
- env:
4953
- task=test-dist-bash
54+
before_script:
55+
- type bash && bash --version
5056
script:
5157
- ./test-scripts/bash
5258
- env:
@@ -55,6 +61,8 @@ matrix:
5561
apt:
5662
packages:
5763
- fish
64+
before_script:
65+
- type fish && fish --version
5866
script:
5967
- ./test-scripts/fish
6068

@@ -64,18 +72,22 @@ matrix:
6472
- task=test-dist-zsh
6573
before_script:
6674
- brew install zsh
75+
- type zsh && zsh --version
6776
script:
6877
- ./test-scripts/zsh
6978
- os: osx
7079
env:
7180
- task=test-dist-ksh
7281
before_script:
7382
- brew install ksh
83+
- type ksh && ksh --version || printf ""
7484
script:
7585
- ./test-scripts/ksh
7686
- os: osx
7787
env:
7888
- task=test-dist-bash-builtin
89+
before_script:
90+
- type bash && bash --version
7991
script:
8092
- ./test-scripts/bash
8193
- os: osx
@@ -84,12 +96,14 @@ matrix:
8496
- PATH="/usr/local/bin/:$PATH"
8597
before_script:
8698
- brew install bash
99+
- type bash && bash --version
87100
script:
88101
- ./test-scripts/bash
89102
- os: osx
90103
env:
91104
- task=test-dist-fish
92105
before_script:
93106
- brew install fish
107+
- type fish && fish --version
94108
script:
95109
- ./test-scripts/fish

0 commit comments

Comments
Β (0)