We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aeadf44 commit 8abfe38Copy full SHA for 8abfe38
1 file changed
.travis.yml
@@ -4,7 +4,14 @@ before_install:
4
- sudo apt-get install -qq check
5
- wget -q -O /tmp/libsodium.deb http://download.dnscrypt.org/libsodium/releases/libsodium_0.3+fpm0_amd64.deb
6
- sudo dpkg -i /tmp/libsodium.deb
7
-script: ./autogen.sh && ./configure && make check
+env:
8
+ - USE_LIBGLIB=no
9
+ - USE_LIBGLIB=yes
10
+before_script:
11
+ - ./autogen.sh
12
+ - sh -c '[ "$USE_LIBGLIB" = "yes" ] && ./configure --with-libglib CFLAGS="-Werror"'
13
+ - sh -c '[ "$USE_LIBGLIB" = "no" ] && ./configure --without-libglib CFLAGS="-Werror"'
14
+script: make check
15
compiler:
16
- clang
17
- gcc
0 commit comments