Improve Travis CI configuration (use both compilers, enable more features)
authorIvan Maidanski <ivmai@mail.ru>
Thu, 11 Aug 2016 19:55:21 +0000 (22:55 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 11 Aug 2016 19:56:26 +0000 (22:56 +0300)
* .travis.yml (compiler): Add (use both gcc and clang)
* .travis.yml (install): Use autogen.sh instead of autoreconf and
automake; add options to configure (to cover more code during testing);
do not invoke make.
* .travis.yml (script): Pass -j to make.

.travis.yml

index 5377dfc..ec010b7 100644 (file)
@@ -4,14 +4,16 @@ os:
   - linux
   - osx
 
+compiler:
+  - clang
+  - gcc
+
 sudo: false
 
 install:
   - git clone https://github.com/ivmai/libatomic_ops.git
-  - autoreconf -vif
-  - automake --add-missing
-  - ./configure
-  - make
+  - ./autogen.sh
+  - ./configure --enable-werror --enable-handle-fork --enable-gcj-support --enable-atomic-uncollectible --enable-disclaim --enable-munmap
 
 script:
-  - make check
+  - make -j check