From 3161cf31d149f9600308045eaa30222f0c04e643 Mon Sep 17 00:00:00 2001 From: Jimmy Brisson Date: Fri, 9 Jun 2017 10:25:44 -0500 Subject: [PATCH] Simplify doxygen and libfile checks --- .travis.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index c6bfc72ec0..31ea76a95d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,18 +2,17 @@ python: - "2.7" script: - - mkdir BUILD && doxygen doxyfile_options + - mkdir BUILD # Assert that the Doxygen build produced no warnings. # The strange command below asserts that the Doxygen command had an # output of zero length - | - [ -z "`doxygen doxyfile_options 2>&1`" ] - - find -name "*.a" -and -not -name "lib*.a" + doxygen doxyfile_options 2>&1 | tee BUILD/doxygen.out && [ ! -s BUILD/doxygen.out ] # Assert that all binary libraries are named correctly # The strange command below asserts that there are exactly 0 libraries that do # not start with lib - | - [ -z '`find -name "*.a" -and -not -name "lib*.a"`' ] + find -name "*.a" -and -not -name "lib*" | tee BUILD/badlibs && [ ! -s BUILD/badlibs ] - make -C events/equeue test clean - PYTHONPATH=. python tools/test/config_test/config_test.py - PYTHONPATH=. python tools/test/build_api/build_api_test.py