Skip BIP39 tests on Travis
This commit is contained in:
parent
ea22f1361f
commit
b361bfe1d0
File diff suppressed because one or more lines are too long
5961
browser/testdata.js
5961
browser/testdata.js
File diff suppressed because one or more lines are too long
|
@ -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…
Reference in New Issue