Skip to content

Commit

Permalink
CI: Update clang on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
mgreter committed Jan 20, 2017
1 parent 0e0468e commit 608edba
Showing 1 changed file with 25 additions and 17 deletions.
42 changes: 25 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
language: cpp
sudo: false

os:
- linux
- osx

compiler:
- gcc
- clang

# don't create redundant code coverage reports
# - AUTOTOOLS=yes COVERAGE=yes BUILD=static
Expand All @@ -19,25 +12,40 @@ compiler:
# this will still catch all coding errors!
# - AUTOTOOLS=yes COVERAGE=no BUILD=static

env:
- AUTOTOOLS=no COVERAGE=no BUILD=shared
- AUTOTOOLS=no COVERAGE=yes BUILD=static
- AUTOTOOLS=yes COVERAGE=no BUILD=shared

# currenty there are various issues when
# built with coverage, clang and autotools
# - AUTOTOOLS=yes COVERAGE=yes BUILD=shared

matrix:
exclude:
- compiler: clang
env: AUTOTOOLS=yes COVERAGE=yes BUILD=static
include :
- os: linux
compiler: gcc
env: AUTOTOOLS=no COVERAGE=yes BUILD=static
- os: linux
compiler: gcc
env: AUTOTOOLS=yes COVERAGE=no BUILD=shared
- os: linux
compiler: clang++-3.7
env: AUTOTOOLS=no COVERAGE=yes BUILD=static
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.7
packages:
- clang-3.7
- os: linux
compiler: clang
env: AUTOTOOLS=yes COVERAGE=no BUILD=shared
- os: osx
compiler: clang
env: AUTOTOOLS=no COVERAGE=no BUILD=shared
- os: osx
compiler: gcc
compiler: clang
env: AUTOTOOLS=no COVERAGE=yes BUILD=static
- os: osx
env: AUTOTOOLS=no BUILD=static
compiler: clang
env: AUTOTOOLS=yes COVERAGE=no BUILD=shared

script:
- ./script/ci-build-libsass
Expand Down

0 comments on commit 608edba

Please sign in to comment.