summaryrefslogtreecommitdiffstatshomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorGravatarGravatar Dirk Best <mail@dirk-best.de>2015-07-10 18:41:35 +0200
committerGravatarGravatar Dirk Best <mail@dirk-best.de>2015-07-10 18:41:57 +0200
commit7ad2ae5116da54465dbbb8651bdd386699a9d3bb (patch)
treee70fcebc6ad2400eeab6a8b1ede83683a084525d /.travis.yml
parent5d80e27c48cdda64437e6f6020f0920ed885d1a7 (diff)
travis: add clang support
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index ca24ad06519..6452b3ce231 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,15 @@
language: cpp
+compiler:
+ - gcc
+ - clang
env:
- SUBTARGET=arcade
- SUBTARGET=mess
-script: make -j2
+script:
+ - if [ $CC == 'clang' ];
+ then make -j2 linux_x64_clang;
+ else make -j2;
+ fi
sudo: required
before_install:
- sudo add-apt-repository ppa:zoogie/sdl2-snapshots -y