Skip to content

Commit 1f5c2e5

Browse files
Re-order test on Travis CI, macOS first
Since the concurent build of macOS is only 2 on Travis CI, and macOS builds take more time each round, so move them to be tested earlier.
1 parent c7123e7 commit 1f5c2e5

1 file changed

Lines changed: 42 additions & 42 deletions

File tree

β€Ž.travis.ymlβ€Ž

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -24,48 +24,6 @@ matrix:
2424
script:
2525
- shellcheck dist/ColorEcho.bash
2626

27-
# test all echo functions on difference shell on Linux
28-
- env:
29-
- task=test-dist-sh
30-
script:
31-
- ./test-scripts/sh
32-
- env:
33-
- task=test-dist-zsh
34-
addons:
35-
apt:
36-
packages:
37-
- zsh
38-
before_script:
39-
- type zsh && zsh --version
40-
script:
41-
- ./test-scripts/zsh
42-
- env:
43-
- task=test-dist-ksh
44-
addons:
45-
apt:
46-
packages:
47-
- ksh
48-
before_script:
49-
- type ksh && ksh --version || printf ""
50-
script:
51-
- ./test-scripts/ksh
52-
- env:
53-
- task=test-dist-bash
54-
before_script:
55-
- type bash && bash --version
56-
script:
57-
- ./test-scripts/bash
58-
- env:
59-
- task=test-dist-fish
60-
addons:
61-
apt:
62-
packages:
63-
- fish
64-
before_script:
65-
- type fish && fish --version
66-
script:
67-
- ./test-scripts/fish
68-
6927
# test all echo functions on difference shell(except sh, which is actually bash) on Mac
7028
- os: osx
7129
env:
@@ -107,3 +65,45 @@ matrix:
10765
- type fish && fish --version
10866
script:
10967
- ./test-scripts/fish
68+
69+
# test all echo functions on difference shell on Linux
70+
- env:
71+
- task=test-dist-sh
72+
script:
73+
- ./test-scripts/sh
74+
- env:
75+
- task=test-dist-zsh
76+
addons:
77+
apt:
78+
packages:
79+
- zsh
80+
before_script:
81+
- type zsh && zsh --version
82+
script:
83+
- ./test-scripts/zsh
84+
- env:
85+
- task=test-dist-ksh
86+
addons:
87+
apt:
88+
packages:
89+
- ksh
90+
before_script:
91+
- type ksh && ksh --version || printf ""
92+
script:
93+
- ./test-scripts/ksh
94+
- env:
95+
- task=test-dist-bash
96+
before_script:
97+
- type bash && bash --version
98+
script:
99+
- ./test-scripts/bash
100+
- env:
101+
- task=test-dist-fish
102+
addons:
103+
apt:
104+
packages:
105+
- fish
106+
before_script:
107+
- type fish && fish --version
108+
script:
109+
- ./test-scripts/fish

0 commit comments

Comments
Β (0)