Skip to content

Commit 7716d08

Browse files
Adjust Travis CI stage order
1 parent d2e4cab commit 7716d08

1 file changed

Lines changed: 46 additions & 46 deletions

File tree

β€Ž.travis.ymlβ€Ž

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -28,96 +28,96 @@ jobs:
2828
script:
2929
- shellcheck dist/ColorEcho.bash
3030

31-
# test all echo functions on difference shell(except sh, which is actually bash) on Mac
32-
- stage: macOS runtime test
33-
os: osx
31+
# test all echo functions on difference shell on Linux
32+
- stage: Ubuntu runtime test
33+
env:
34+
- task=test-dist-sh
35+
script:
36+
- ./test-scripts/sh
37+
- stage: Ubuntu runtime test
3438
env:
3539
- task=test-dist-zsh
40+
addons:
41+
apt:
42+
packages:
43+
- zsh
3644
before_script:
37-
- brew install zsh
3845
- type zsh && zsh --version
3946
script:
4047
- ./test-scripts/zsh
41-
- stage: macOS runtime test
42-
os: osx
48+
- stage: Ubuntu runtime test
4349
env:
4450
- task=test-dist-ksh
51+
addons:
52+
apt:
53+
packages:
54+
- ksh
4555
before_script:
46-
- brew install ksh
4756
- type ksh && ksh --version || printf ""
4857
script:
4958
- ./test-scripts/ksh
50-
- stage: macOS runtime test
51-
os: osx
52-
env:
53-
- task=test-dist-bash-builtin
54-
before_script:
55-
- type bash && bash --version
56-
script:
57-
- ./test-scripts/bash
58-
- stage: macOS runtime test
59-
os: osx
59+
- stage: Ubuntu runtime test
6060
env:
61-
- task=test-dist-bash-brew-install
61+
- task=test-dist-bash
6262
before_script:
63-
- brew install bash
64-
- export PATH="/usr/local/bin:$PATH"
6563
- type bash && bash --version
6664
script:
6765
- ./test-scripts/bash
68-
- stage: macOS runtime test
69-
os: osx
66+
- stage: Ubuntu runtime test
7067
env:
7168
- task=test-dist-fish
69+
addons:
70+
apt:
71+
packages:
72+
- fish
7273
before_script:
73-
- brew install fish
7474
- type fish && fish --version
7575
script:
7676
- ./test-scripts/fish
7777

78-
# test all echo functions on difference shell on Linux
79-
- stage: Ubuntu runtime test
80-
env:
81-
- task=test-dist-sh
82-
script:
83-
- ./test-scripts/sh
84-
- stage: Ubuntu runtime test
78+
# test all echo functions on difference shell(except sh, which is actually bash) on Mac
79+
- stage: macOS runtime test
80+
os: osx
8581
env:
8682
- task=test-dist-zsh
87-
addons:
88-
apt:
89-
packages:
90-
- zsh
9183
before_script:
84+
- brew install zsh
9285
- type zsh && zsh --version
9386
script:
9487
- ./test-scripts/zsh
95-
- stage: Ubuntu runtime test
88+
- stage: macOS runtime test
89+
os: osx
9690
env:
9791
- task=test-dist-ksh
98-
addons:
99-
apt:
100-
packages:
101-
- ksh
10292
before_script:
93+
- brew install ksh
10394
- type ksh && ksh --version || printf ""
10495
script:
10596
- ./test-scripts/ksh
106-
- stage: Ubuntu runtime test
97+
- stage: macOS runtime test
98+
os: osx
10799
env:
108-
- task=test-dist-bash
100+
- task=test-dist-bash-builtin
109101
before_script:
110102
- type bash && bash --version
111103
script:
112104
- ./test-scripts/bash
113-
- stage: Ubuntu runtime test
105+
- stage: macOS runtime test
106+
os: osx
107+
env:
108+
- task=test-dist-bash-brew-install
109+
before_script:
110+
- brew install bash
111+
- export PATH="/usr/local/bin:$PATH"
112+
- type bash && bash --version
113+
script:
114+
- ./test-scripts/bash
115+
- stage: macOS runtime test
116+
os: osx
114117
env:
115118
- task=test-dist-fish
116-
addons:
117-
apt:
118-
packages:
119-
- fish
120119
before_script:
120+
- brew install fish
121121
- type fish && fish --version
122122
script:
123123
- ./test-scripts/fish

0 commit comments

Comments
Β (0)