Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add performance test skip in Travis-CI environment

  • Loading branch information...
commit e5900daa87bb3cfedba15c1d4debb67a8076e1bc 1 parent 8e52a8b
@kaero kaero authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 test/performance.js
View
5 test/performance.js
@@ -15,6 +15,11 @@ test(
timeStart = Date.now(),
totalTime;
+ if (process.env['TRAVIS'] === 'true') {
+ console.log(' Travis-CI environment detected, skip performance test');
+ return assert.ok(true);
+ }
+
while (iterations > 0) {
xamel.parse(xml, { trim : true }, function(error, result) {
error && ++errorCount;
Please sign in to comment.
Something went wrong with that request. Please try again.