Skip to content

Commit f16ca56

Browse files
authored
Merge pull request #4516 from theotherjimmy/filname-ci
Check for correct library naming in Travis CI
2 parents 109269d + 946d160 commit f16ca56

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.travis.yml

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

44
script:
5-
- mkdir BUILD && doxygen doxyfile_options
5+
- mkdir BUILD
6+
# Assert that the Doxygen build produced no warnings.
7+
# The strange command below asserts that the Doxygen command had an
8+
# output of zero length
69
- |
7-
[ -z "`doxygen doxyfile_options 2>&1`" ]
10+
doxygen doxyfile_options 2>&1 | tee BUILD/doxygen.out && [ ! -s BUILD/doxygen.out ]
11+
# Assert that all binary libraries are named correctly
12+
# The strange command below asserts that there are exactly 0 libraries that do
13+
# not start with lib
14+
- |
15+
find "(" -name "*.a" -or -name "*.ar" ")" -and -not -name "lib*" | tee BUILD/badlibs | sed -e "s/^/Bad library name found: /" && [ ! -s BUILD/badlibs ]
816
- make -C events/equeue test clean
917
- PYTHONPATH=. python tools/test/config_test/config_test.py
1018
- PYTHONPATH=. python tools/test/build_api/build_api_test.py

0 commit comments

Comments
 (0)