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