Browse Source

Skip BIP39 tests on Travis

patch-2
Yemel Jardi 11 years ago
parent
commit
b361bfe1d0
  1. 450
      browser/bundle.js
  2. 5961
      browser/testdata.js
  3. 5
      test/test.BIP39.js

450
browser/bundle.js

File diff suppressed because one or more lines are too long

5961
browser/testdata.js

File diff suppressed because one or more lines are too long

5
test/test.BIP39.js

@ -6,6 +6,8 @@ var bitcore = bitcore || require('../bitcore');
var BIP39 = bitcore.BIP39;
var BIP39WordlistEn = bitcore.BIP39WordlistEn;
var ON_TRAVIS = typeof(process) != 'undefined' && (process.env.TRAVIS || process.env.CI);
describe('BIP39', function() {
// From python reference code, formatting unchanged
var bip39_vectors = {
@ -147,8 +149,7 @@ describe('BIP39', function() {
//do not run these slow tests on TRAVIS which often fails
var vectors = bip39_vectors['english'];
var process = process || null;
if (!process || (!process.env.TRAVIS && !process.env.CI)) {
if (!ON_TRAVIS) {
for (var v = 0 ; v < vectors.length ; v++) {
(function(v){
it('should pass test vector ' + v, function() {

Loading…
Cancel
Save