]> granicus.if.org Git - libatomic_ops/commitdiff
Travis CI: Test also the distributive file creation
authorIvan Maidanski <ivmai@mail.ru>
Thu, 27 Apr 2017 20:57:02 +0000 (23:57 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 15 May 2017 20:32:07 +0000 (23:32 +0300)
(Cherry-pick commits 672aab20ef0fe3 from 'master' branch.)

.travis.yml

index bada590ccbddfb2d79b085efda86998e98128a0f..ba481a9e1259d9951680befa9f3af1cb160098fb 100644 (file)
@@ -7,6 +7,9 @@ matrix:
   - os: linux
     compiler: gcc
   - os: osx
+  - os: linux
+    env:
+    - MAKEFILE_TARGET=dist
   - os: linux
     compiler: clang
     env:
@@ -76,11 +79,14 @@ matrix:
     - CFLAGS_EXTRA="-march=native"
     - CONF_OPTIONS="--enable-assertions"
 
+before_install:
+- if [[ "$MAKEFILE_TARGET" == "" ]]; then MAKEFILE_TARGET=check; fi
+
 install:
 - "./autogen.sh"
 
 script:
 - ./configure $CONF_OPTIONS
 - cat src/config.h
-- make -j check CFLAGS_EXTRA="$CFLAGS_EXTRA"
+- make -j $MAKEFILE_TARGET CFLAGS_EXTRA="$CFLAGS_EXTRA"
 - if [ -f tests/test_atomic.log ]; then cat tests/test_atomic*.log; fi