Fix AppVeyor:

* Detect continuous integration environment via `CI` variable
* Use double quotes for build cache path
This commit is contained in:
Nicholas Dudfield
2015-03-04 10:13:43 +07:00
committed by Tom Ritchford
parent fc8bf39043
commit 2e59378ab7
4 changed files with 7 additions and 7 deletions

View File

@@ -616,13 +616,13 @@ function verify_owner_counts(remote, counts, callback) {
async.every(tests, iterator, callback);
};
var isTravis = Boolean(process.env.TRAVIS);
var isCI = Boolean(process.env.CI);
function ledger_wait(remote, tx) {
;(function nextLedger() {
remote.once('ledger_closed', function() {
if (!tx.finalized) {
setTimeout(nextLedger, isTravis ? 400 : 100);
setTimeout(nextLedger, isCI ? 400 : 100);
}
});
remote.ledger_accept();