fix: copy build script from repo
#!/bin/bash
-./configure
+autoreconf -vfi
+./configure || { cat config.log; false; }
make
-make install
-make check
\ No newline at end of file
+if test "${TRAVIS_OS_NAME}" = "linux"; then
+ make distcheck;
+else
+ make check;
+fi
+|| { cat test/test-suite.log sample-*/_build/test/test-suite.log; false; }
\ No newline at end of file
