From 47b67fedb31117268efcde80aad4136704eaf714 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Fri, 27 Jan 2017 13:05:47 -0800 Subject: [PATCH] [node] Run tests under apitrace This may help diagnose the intermittent CI failures. --- .mason | 2 +- .travis.yml | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.mason b/.mason index 25fa17ac8..3c5372c64 160000 --- a/.mason +++ b/.mason @@ -1 +1 @@ -Subproject commit 25fa17ac8f09315f92047116f37242d6d05f904d +Subproject commit 3c5372c645fded4b122d879f499a7ab355b2dafe diff --git a/.travis.yml b/.travis.yml index 6e3bc85c9..c612ff409 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