Skip to content

Commit 3161cf3

Browse files
committed
Simplify doxygen and libfile checks
1 parent 1d42134 commit 3161cf3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,17 @@ python:
22
- "2.7"
33

44
script:
5-
- mkdir BUILD && doxygen doxyfile_options
5+
- mkdir BUILD
66
# Assert that the Doxygen build produced no warnings.
77
# The strange command below asserts that the Doxygen command had an
88
# output of zero length
99
- |
10-
[ -z "`doxygen doxyfile_options 2>&1`" ]
11-
- find -name "*.a" -and -not -name "lib*.a"
10+
doxygen doxyfile_options 2>&1 | tee BUILD/doxygen.out && [ ! -s BUILD/doxygen.out ]
1211
# Assert that all binary libraries are named correctly
1312
# The strange command below asserts that there are exactly 0 libraries that do
1413
# not start with lib
1514
- |
16-
[ -z '`find -name "*.a" -and -not -name "lib*.a"`' ]
15+
find -name "*.a" -and -not -name "lib*" | tee BUILD/badlibs && [ ! -s BUILD/badlibs ]
1716
- make -C events/equeue test clean
1817
- PYTHONPATH=. python tools/test/config_test/config_test.py
1918
- PYTHONPATH=. python tools/test/build_api/build_api_test.py

0 commit comments

Comments
 (0)