Skip to content

Commit 214c8df

Browse files
committed
.travis.yml: Prevent before_scripts from failing.
1 parent 8abfe38 commit 214c8df

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ env:
99
- USE_LIBGLIB=yes
1010
before_script:
1111
- ./autogen.sh
12-
- sh -c '[ "$USE_LIBGLIB" = "yes" ] && ./configure --with-libglib CFLAGS="-Werror"'
13-
- sh -c '[ "$USE_LIBGLIB" = "no" ] && ./configure --without-libglib CFLAGS="-Werror"'
12+
- sh -c 'if [ "$USE_LIBGLIB" = "yes" ]; then ./configure --with-libglib CFLAGS="-Werror"; fi'
13+
- sh -c 'if [ "$USE_LIBGLIB" = "no" ]; then ./configure --without-libglib CFLAGS="-Werror"; fi'
1414
script: make check
1515
compiler:
1616
- clang

0 commit comments

Comments
 (0)