From 47b67fedb31117268efcde80aad4136704eaf714 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Fri, 27 Jan 2017 13:05:47 -0800 Subject: [node] Run tests under apitrace This may help diagnose the intermittent CI failures. --- .travis.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to '.travis.yml') 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 -- cgit v1.2.1