[node] Run tests under apitrace

This may help diagnose the intermittent CI failures.
This commit is contained in:
John Firebaugh
2017-01-27 13:05:47 -08:00
parent 6348fe9f4a
commit 47b67fedb3
2 changed files with 9 additions and 3 deletions

2
.mason

Submodule .mason updated: 25fa17ac8f...3c5372c645

View File

@@ -96,10 +96,13 @@ matrix:
- nvm install 4
- nvm use 4
- make node
- make test-node
- mason install apitrace 6a30de1
- $(mason prefix apitrace 6a30de1)/bin/apitrace trace --api=egl -v make test-node
after_script:
- ccache --show-stats
- ./platform/node/scripts/after_script.sh ${TRAVIS_JOB_NUMBER}
after_failure:
- aws s3 cp --acl public-read *.trace s3://mapbox/mapbox-gl-native/render-tests/$TRAVIS_JOB_NUMBER
# EGL - Node - Clang 3.8 - Release
- os: linux
@@ -120,12 +123,15 @@ matrix:
- nvm install 4
- nvm use 4
- make node
- make test-node
- mason install apitrace 6a30de1
- $(mason prefix apitrace 6a30de1)/bin/apitrace trace --api=egl -v make test-node
after_script:
- ccache --show-stats
- ./platform/node/scripts/after_script.sh ${TRAVIS_JOB_NUMBER}
after_success:
- ./platform/node/scripts/after_success.sh
after_failure:
- aws s3 cp --acl public-read *.trace s3://mapbox/mapbox-gl-native/render-tests/$TRAVIS_JOB_NUMBER
# EGL - GCC 5 - Debug (Coverage)
- os: linux