foxygit / doom Log in
commit c0a6b6b5d0b7b5b051bf30b51a7482358dacea57
Author:     Turo Lamminen <turol@users.noreply.github.com>
AuthorDate: Tue May 12 21:59:57 2020 +0300
Commit:     GitHub <noreply@github.com>
CommitDate: Tue May 12 20:59:57 2020 +0200

    Add clang to Travis CI (#1285)

    * Add clang to Travis CI

    * Enable ccache on Travis
---
 .travis.yml | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 8700e2be..fb105ffe 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,13 +1,18 @@
 language: c

-compiler: gcc
+cache: ccache
+
+compiler:
+  - gcc
+  - clang

 sudo: required
 dist: bionic

-env:
-    - ANALYZE=false
-    - ANALYZE=true
+matrix:
+  include:
+    - compiler: gcc
+      env: ANALYZE=true

 addons:
     apt: