Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[node] Run tests under apitrace
Browse files Browse the repository at this point in the history
This may help diagnose the intermittent CI failures.
  • Loading branch information
jfirebaugh committed Jan 31, 2017
1 parent 6348fe9 commit 47b67fe
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 47b67fe

Please sign in to comment.