Skip to content

Commit 0b7e73a

Browse files
adrianbroherrillian
authored andcommitted
Add BUILD_SYSTEM env variable to Travis-CI build matrix
This allows to switch between different build systems when building multiple test matrix configurations.
1 parent 21a1a71 commit 0b7e73a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.travis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@ compiler:
44
- gcc
55
- clang
66

7+
env:
8+
- BUILD_SYSTEM=AUTOTOOLS
9+
710
addons:
811
apt:
912
packages:
1013
- libogg-dev
1114

1215
script:
13-
- ./autogen.sh
14-
- ./configure
15-
- make -j2 V=1 distcheck
16+
- if [[ "$BUILD_SYSTEM" == "AUTOTOOLS" ]] ; then ./autogen.sh ; fi
17+
- if [[ "$BUILD_SYSTEM" == "AUTOTOOLS" ]] ; then ./configure ; fi
18+
- if [[ "$BUILD_SYSTEM" == "AUTOTOOLS" ]] ; then make -j2 V=1 distcheck ; fi

0 commit comments

Comments
 (0)