Skip to content

Commit 9cb8f58

Browse files
paultcochranepreaction
authored andcommitted
Fix Perl version testing config in Travis
In order to ensure that the environment variables are used in the builds for Perl 5.24 and blead, one must define the Perl versions within the `include` section of the `matrix` directive. This ensures that instead of running two builds using Perl 5.24 (one without environment variables, and one with) that only one build with the required environment variables is run.
1 parent a4a9d59 commit 9cb8f58

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
language: perl
2-
perl:
3-
- "5.24"
4-
- "blead"
52

63
matrix:
74
include:
85
- perl: "5.24"
96
env: COVERAGE=1 MYSQL_VERSION=5.7
7+
- perl: "blead"
8+
env: COVERAGE=1 MYSQL_VERSION=5.7
109
allow_failures:
1110
- perl: "blead"
1211
env: MYSQL_VERSION=5.7

0 commit comments

Comments
 (0)