mirror of
https://github.com/swiftlang/swift-cmark.git
synced 2026-01-18 17:31:20 +01:00
Add static-only build to Travis test matrix
This commit is contained in:
@@ -8,6 +8,11 @@ language: c
|
||||
compiler:
|
||||
- clang
|
||||
- gcc
|
||||
matrix:
|
||||
include:
|
||||
- os: linux
|
||||
compiler: gcc
|
||||
env: CMAKE_OPTIONS="-DCMARK_SHARED=OFF"
|
||||
addons:
|
||||
apt:
|
||||
# we need a more recent cmake than travis/linux provides (at least 2.8.9):
|
||||
@@ -26,7 +31,7 @@ before_install:
|
||||
fi
|
||||
|
||||
script:
|
||||
- make
|
||||
- (mkdir -p build && cd build && cmake $CMAKE_OPTIONS ..)
|
||||
- make test
|
||||
- |
|
||||
if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ]
|
||||
|
||||
Reference in New Issue
Block a user