diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-01-27 13:05:47 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-01-31 10:23:07 -0600 |
commit | 47b67fedb31117268efcde80aad4136704eaf714 (patch) | |
tree | 971fac18d7703d127a713253fb37633db0305e2e /.travis.yml | |
parent | 6348fe9f4acccce65d1396aa9eab79e6c44bcfc2 (diff) | |
download | qtlocation-mapboxgl-47b67fedb31117268efcde80aad4136704eaf714.tar.gz |
[node] Run tests under apitrace
This may help diagnose the intermittent CI failures.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 6e3bc85c9f..c612ff4093 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 |