Skip to content

Commit de7b5be

Browse files
authored
Merge pull request #265 from JM1/master
Add Clang 4.0 to .travis.yml and allow 6.0 to fail
2 parents a666cf4 + 06ee959 commit de7b5be

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,22 @@ matrix:
4444
packages: [ "ccache", "gcc-5", "g++-5", "gfortran-5", "libstdc++-5-dev", "clang-3.8" ]
4545
} }
4646

47+
# Clang 4.0
48+
- env: CC=clang-4.0 CXX=clang++-4.0 F77=gfortran-8
49+
addons: { apt: {
50+
sources: [ "ubuntu-toolchain-r-test", "llvm-toolchain-trusty-4.0", { sourceline: "ppa:dzombie/ccache" } ],
51+
packages: [ "ccache", "gcc-8", "g++-8", "gfortran-8", "libstdc++-8-dev", "clang-4.0" ]
52+
} }
53+
4754
# Clang 6.0
4855
- env: CC=clang-6.0 CXX=clang++-6.0 F77=gfortran-8
4956
addons: { apt: {
5057
sources: [ "ubuntu-toolchain-r-test", "llvm-toolchain-trusty-6.0", { sourceline: "ppa:dzombie/ccache" } ],
5158
packages: [ "ccache", "gcc-8", "g++-8", "gfortran-8", "libstdc++-8-dev", "clang-6.0" ]
5259
} }
60+
61+
allow_failures:
62+
- env: CC=clang-6.0 CXX=clang++-6.0 F77=gfortran-8 # compiler crash
5363

5464
install:
5565
- sh travis/install-mpi.sh $MPI

0 commit comments

Comments
 (0)