* Main gyp files are now standardized as platform/<platform>/platform.gyp. * Each platform gyp file defines appropriate loop_lib and headless_lib variables. * Each platform gyp file includes mbgl.gypi, which defines base targets which may be useful to all platforms. * CI targets are consistent across platforms: `make $(PLATFORM) && make test-$(PLATFORM)`. * Renamed the "linux" test app to "glfw". It's now built in OS X CI. * Android build flakiness is fixed. * iOS CI builds the bench and iosapp targets. * Mesa version is now in one place. * CI scripts use bash "strict mode" and correct error handling. * All build output goes to the build directory. * Removed vestigial iOS/OS X/Android Travis scripts.
25 lines
665 B
Bash
Executable File
25 lines
665 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -o pipefail
|
|
|
|
mapbox_time "install_lcov" \
|
|
mason install lcov 1.12
|
|
|
|
# Collect coverage data and save it into coverage.info
|
|
mapbox_time "lcov_capture" \
|
|
`mason prefix lcov 1.12`/usr/bin/lcov \
|
|
--quiet \
|
|
--capture \
|
|
--no-external \
|
|
--gcov-tool "gcov-4.9" \
|
|
--directory "src/mbgl" \
|
|
--directory "platform" \
|
|
--directory "include/mbgl" \
|
|
--directory "build/linux-x86_64/${BUILDTYPE}" \
|
|
--base-directory "build/linux-x86_64/${BUILDTYPE}" \
|
|
--output-file "build/linux-x86_64/${BUILDTYPE}/coverage.info"
|
|
|
|
mapbox_time "coveralls_upload" \
|
|
coveralls-lcov "build/linux-x86_64/${BUILDTYPE}/coverage.info"
|