From 3641f5a43e21f28f54def2b7aa21a7c8f7bd0a8e Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Tue, 30 May 2017 10:34:49 +0300 Subject: [PATCH] Travis CI: Test without clone libatomic_ops (Cherry-pick commit 77afa79a from 'master' branch.) --- .travis.yml | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3f36c8d8..ac7c5358 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,26 @@ matrix: - os: osx env: - CONF_OPTIONS="--enable-cplusplus" + - os: linux + addons: + apt: + packages: + - libatomic-ops-dev + compiler: clang + dist: trusty + env: + - CONF_OPTIONS="--enable-cplusplus" + - NO_CLONE_LIBATOMIC_OPS=true + - os: linux + addons: + apt: + packages: + - libatomic-ops-dev + compiler: gcc + dist: trusty + env: + - CONF_OPTIONS="--enable-gc-assertions --enable-cplusplus" + - NO_CLONE_LIBATOMIC_OPS=true - os: linux addons: apt: @@ -40,6 +60,7 @@ matrix: env: - CFLAGS_EXTRA="-D CHECKSUMS" - CONF_OPTIONS="--disable-threads --enable-cplusplus" + - NO_CLONE_LIBATOMIC_OPS=true - os: linux compiler: clang env: @@ -121,10 +142,12 @@ matrix: env: - CONF_OPTIONS="--enable-redirect-malloc --disable-threads" - CFLAGS_EXTRA="-m32" + - NO_CLONE_LIBATOMIC_OPS=true - os: osx env: - CONF_OPTIONS="--enable-redirect-malloc --enable-cplusplus --disable-threads" - CFLAGS_EXTRA="-m32" + - NO_CLONE_LIBATOMIC_OPS=true - os: linux compiler: gcc env: @@ -134,15 +157,18 @@ matrix: env: - CONF_OPTIONS="--disable-static --disable-threads --enable-cplusplus" - CFLAGS_EXTRA="-O3 -march=native" + - NO_CLONE_LIBATOMIC_OPS=true - os: linux compiler: gcc env: - CONF_OPTIONS="--disable-static --disable-threads --enable-cplusplus" - CFLAGS_EXTRA="-O3 -march=native" + - NO_CLONE_LIBATOMIC_OPS=true - os: osx env: - CONF_OPTIONS="--disable-static --disable-threads --enable-cplusplus" - CFLAGS_EXTRA="-O3 -march=native" + - NO_CLONE_LIBATOMIC_OPS=true - os: linux addons: apt: @@ -227,7 +253,10 @@ matrix: - CONF_OPTIONS="--enable-munmap --enable-large-config --enable-gc-assertions" install: -- git clone --depth=50 https://github.com/ivmai/libatomic_ops.git -b release-7_4 +- if [[ "$NO_CLONE_LIBATOMIC_OPS" != true ]]; then + git clone --depth=50 https://github.com/ivmai/libatomic_ops.git + -b release-7_4; + fi - "./autogen.sh" script: -- 2.50.1