Added clang support to Travis CI
This commit is contained in:
parent
b778beb507
commit
4c48c1eeb0
14
.travis.yml
14
.travis.yml
@ -1,7 +1,13 @@
|
||||
language: cpp
|
||||
|
||||
compiler:
|
||||
- gcc
|
||||
matrix:
|
||||
fast_finish: true
|
||||
include:
|
||||
- os: osx
|
||||
osx_image: xcode7.3
|
||||
compiler: clang
|
||||
- os: linux
|
||||
compiler: gcc
|
||||
|
||||
addons:
|
||||
apt:
|
||||
@ -14,9 +20,11 @@ addons:
|
||||
- g++-4.8
|
||||
- gfortran-4.8
|
||||
- liblapack-dev
|
||||
- clang
|
||||
|
||||
install:
|
||||
- export CXX="g++-4.8" CC="gcc-4.8" FC="gfortran-4.8"
|
||||
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8" FC="gfortran-4.8"; fi
|
||||
|
||||
- cd ..
|
||||
|
||||
- git clone https://github.com/OPM/opm-common.git
|
||||
|
Loading…
Reference in New Issue
Block a user