Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.

Commit

Permalink
Fix Travis bug: Actually use multiple compilers.
Browse files Browse the repository at this point in the history
  • Loading branch information
kohler committed Apr 7, 2017
1 parent d028552 commit 53b0944
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
language: c
compiler:
- gcc
- clang
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "NEQUeZwTTJ+1Pdy2CpNte1nJLYRY2H8+dpvnGS2HP6U/Ok6ZQm4Zxic+ufhabuymbCV7Jvwwy6Gaj8+ObIDahhzAsiMRXSymnvFHELAnq7DiikJ2HqBvFhPzPI2/vDmEP37msGW1dloipLhdKMeuYYP++BpApnC6KVRVJDXg5JI="
matrix:
- CC="gcc"
- CC="gcc -std=c89"
- CC="clang"
- C89=no
- C89=yes
matrix:
exclude:
- compiler: clang
env: C89=yes
script: ./configure && make check
before_script: ./bootstrap.sh
before_script:
- if [ "$CC $C89" = "gcc yes" ]; then export CC="gcc -std=c89"; fi
- ./bootstrap.sh
sudo: false

addons:
Expand Down

0 comments on commit 53b0944

Please sign in to comment.