]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commitdiff
Force travis to build with clang on MacOS
authorYi Wu <yiwu@fb.com>
Mon, 5 Jun 2017 22:34:40 +0000 (15:34 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 5 Jun 2017 22:41:57 +0000 (15:41 -0700)
Summary:
Attempt to force travis to build with clang on MacOS
Closes https://github.com/facebook/rocksdb/pull/2408

Differential Revision: D5186635

Pulled By: yiwu-arbug

fbshipit-source-id: dbb779eff07b1cb7dbd2092631303cf946316656

.travis.yml

index 6c836dc583c400ec69ecc76696df38bfa8e58680..7e2bf115c3f7aff12f43d6b9f763e20e5ab432fa 100644 (file)
@@ -4,6 +4,9 @@ language: cpp
 os:
   - linux
   - osx
+compiler:
+  - clang
+  - gcc
 osx_image: xcode8.3
 jdk:
   - oraclejdk7
@@ -35,6 +38,10 @@ matrix:
     env: TEST_GROUP=2
   - os : osx
     env: JOB_NAME=cmake-mingw
+  - os : linux
+    compiler: clang
+  - os : osx
+    compiler: gcc
 
 # https://docs.travis-ci.com/user/caching/#ccache-cache
 install: