aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2021-04-04 21:59:14 +0200
committerToni Uhlig <matzeton@googlemail.com>2021-07-30 22:09:21 +0200
commitb503900b1456e8bd4b60d1deb0ef7cc3665676f1 (patch)
tree92e7a88c190caf23f810e0a828b6da926f11879a /.travis.yml
parent13c5d6801e3b9fdc71bec88c300243a939346a8d (diff)
First step of cleaning up the Makefile.in hell.first-step-to-automake-integration
The goal is to get rid of the Makefile.in's (replace it with Automake Makefile.am's) as they duplicate lot's of text. That decreases readability and is in general a bad design pattern. It seems appropriate to use Automake for an Autoconf based project. Currently achieved: * using libtool to build the core library (+libtool's semantic versioning) * out-of-source builds should work right now * introducing Automake based Makefile in src/ * removed some (maybe) unused GIT ignored files * provide some small python fixes Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml20
1 files changed, 10 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml
index f4e0e06b3..a43f32d54 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -203,25 +203,25 @@ matrix:
before_install:
- eval "${MATRIX_EVAL}"
-before_script:
- - ./autogen.sh
+#before_script:
# - lcov --directory . --zerocounters
script:
- - if [ -n "$QA_FUZZ" ]; then ./configure --enable-fuzztargets ; else
- ./configure ; fi
- - if [ -n "$BUILD_DPKG_PACKAGE" ]; then cd ./packages/ubuntu ;
- ./configure && dpkg-buildpackage -b -us -uc ; cd ../.. ; fi
- - if [ -n "$DISABLE_GCRYPT" ]; then ./configure --disable-gcrypt ; fi
+ - if [ -n "$QA_FUZZ" ]; then mkdir build && cd build && ../autogen.sh --enable-fuzztargets ;
+ elif [ -n "$DISABLE_GCRYPT" ]; then mkdir build && cd build && ../autogen.sh --disable-gcrypt ;
+ else mkdir build && cd build && ../autogen.sh ; fi
- make
- make -C example ndpiSimpleIntegration
- make dist
-
-#after_script:
- cd tests
- ./do.sh
- - ./do-unit.sh
+ - test -x ./do-unit.sh && ./do-unit.sh
- ./do-dga.sh
+ - cd ..
+ - make distclean
+ - cd ..
+ - if [ -n "$BUILD_DPKG_PACKAGE" ]; then cd ./packages/ubuntu ;
+ ./configure && make ; cd ../.. ; fi
#after_success:
#- cd ${TRAVIS_BUILD_DIR}