Build Epoxy with Clang on TravisCI

We can test both GCC and Clang, so we can ensure Epoxy builds correctly
with either.
macos/v1.5.9
Emmanuele Bassi 8 years ago
parent 3289910b97
commit e59cc63273
  1. 3
      .travis.yml

@ -10,6 +10,7 @@ os:
compiler:
- gcc
- clang
language:
- c
@ -24,4 +25,4 @@ script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then echo FROM ebassi/epoxyci > Dockerfile ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then echo ADD . /root >> Dockerfile ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker build -t withgit . ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker run withgit /bin/sh -c "cd /root && TRAVIS=true CC=$CC CXX=$CXX ./epoxy-run-tests.sh" ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker run withgit /bin/sh -c "cd /root && CC=$CC ./epoxy-run-tests.sh" ; fi

Loading…
Cancel
Save