diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2017-05-22 22:51:20 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2017-05-31 19:26:58 +0300 |
commit | 289888d5793c73bdf7ef50562edac8510bfd69d8 (patch) | |
tree | 34c26bd147656fb70b4fbde9acf023911355f170 /.travis.yml | |
parent | c1d9a5b09d27356137321d206cef025551840ddf (diff) | |
download | bdwgc-289888d5793c73bdf7ef50562edac8510bfd69d8.tar.gz |
Travis CI: Test also 'make distcheck'
(Cherry-pick commit a4d2cb5 from 'release-7_4' branch.)
Dependencies used to generate configure:
* autoconf 2.69
* automake 1.14.1
* m4 1.4.17
* libtool 2.4.2
* pkg-config 0.26
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 818f2bb9..a392133d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,15 @@ matrix: env: - CONF_OPTIONS="--enable-cplusplus" - os: linux + addons: + apt: + packages: + - libatomic-ops-dev + dist: trusty + env: + - MAKEFILE_TARGETS="distcheck" + - GC_REAL_VERSION=7.2h + - os: linux env: - MAKEFILE_TARGETS="dist" - WORKAROUND_ACLOCAL_MISSING=true @@ -108,6 +117,13 @@ matrix: - CONF_OPTIONS="--disable-static --disable-threads --enable-cplusplus" before_install: +- if [[ "$MAKEFILE_TARGETS" == *"dist"* ]]; then + autoconf --version; + automake --version; + m4 --version; + libtool --version || true; + pkg-config --version; + fi - if [[ "$MAKEFILE_TARGETS" == "" ]]; then MAKEFILE_TARGETS="check"; fi install: @@ -122,3 +138,11 @@ install: script: - ./configure $CONF_OPTIONS - make -j $MAKEFILE_TARGETS +- if [[ "$GC_REAL_VERSION" != "" ]]; then + tar xf gc-*.tar.gz; + rm gc-*.tar.*; + (cd gc-*; ln -s ../libatomic_ops); + tar cf gc-$GC_REAL_VERSION.tar --dereference + --exclude=".*" --exclude="*.yml" gc-*/; + gzip --best --verbose gc-*.tar; + fi |