Travis CI: Add test case for pkg-config

This commit is contained in:
Ahmad Fatoum 2018-07-03 20:34:31 +02:00
commit c3aeaf4a49
No known key found for this signature in database
GPG key ID: C3EAC3DE9321D59B
4 changed files with 30 additions and 0 deletions

View file

@ -96,6 +96,7 @@ script:
- if [[ "$ARCH" != *-android && "$ARCH" != html5 ]]; then
pkg-config --static --libs raylib;
nm -g release/libraylib.a | grep glfwGetProcAddress || (echo "libraylib.a doesn't contain GLFW symbols! Aborting..." && false);
ctest --output-on-failure;
fi
deploy: