Build Epoxy with Clang on TravisCI
We can test both GCC and Clang, so we can ensure Epoxy builds correctly
with either.
diff --git a/.travis.yml b/.travis.yml
index f32279a..b7ae40b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,6 +10,7 @@
compiler:
- gcc
+ - clang
language:
- c
@@ -24,4 +25,4 @@
- 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