Merge pull request #1268 from jirutka/travis-2

Travis: Add jobs building with clang and disable job `LINUX64_MUSL USE_OPENMP=1`
This commit is contained in:
Martin Kroeker 2017-08-08 21:54:35 +02:00 committed by GitHub
commit 62635b1fb5
1 changed files with 21 additions and 11 deletions

View File

@ -1,14 +1,14 @@
# XXX: Precise is already deprecated, new default is Trusty.
# https://blog.travis-ci.com/2017-07-11-trusty-as-default-linux-is-coming
dist: precise
sudo: false
sudo: true
language: c
compiler: gcc
jobs:
include:
- &test-ubuntu
stage: test
compiler: gcc
addons:
apt:
packages:
@ -35,6 +35,18 @@ jobs:
- TARGET_BOX=LINUX64
- BTYPE="BINARY=64 INTERFACE64=1"
- <<: *test-ubuntu
compiler: clang
env:
- TARGET_BOX=LINUX64
- BTYPE="BINARY=64 CC=clang"
- <<: *test-ubuntu
compiler: clang
env:
- TARGET_BOX=LINUX64
- BTYPE="BINARY=64 INTERFACE64=1 CC=clang"
- <<: *test-ubuntu
addons:
apt:
@ -46,6 +58,7 @@ jobs:
- BTYPE="BINARY=32"
- stage: test
compiler: gcc
addons:
apt:
packages:
@ -88,12 +101,12 @@ jobs:
- BTYPE="BINARY=64"
# XXX: This job segfaults in TESTS OF THE COMPLEX LEVEL 3 BLAS,
# so it's "allowed to fail" for now (see allow_failures).
- &test-alpine-openmp
<<: *test-alpine
env:
- TARGET_BOX=LINUX64_MUSL
- BTYPE="BINARY=64 USE_OPENMP=1"
# but only on Travis CI, cannot reproduce it elsewhere.
#- &test-alpine-openmp
# <<: *test-alpine
# env:
# - TARGET_BOX=LINUX64_MUSL
# - BTYPE="BINARY=64 USE_OPENMP=1"
- <<: *test-alpine
env:
@ -106,9 +119,6 @@ jobs:
- TARGET_BOX=LINUX64_MUSL
- BTYPE="BINARY=64 NO_AFFINITY=1 USE_OPENMP=0 NO_LAPACK=0 TARGET=core2"
allow_failures:
- <<: *test-alpine-openmp
# whitelist
branches:
only: