From 9b17209c449ebec7368ac723cafb444f0d4f7413 Mon Sep 17 00:00:00 2001 From: Brannon King Date: Mon, 10 Feb 2020 10:15:00 -0700 Subject: [PATCH] attempt to fix windows tests on Travis --- .travis.yml | 2 +- src/test/setup_common.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 57408b0a5..e16c619f3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -70,7 +70,7 @@ jobs: dist: xenial language: minimal git: - depth: 3 + clone: false install: - mkdir -p testrun && cd testrun - curl http://build.lbry.io/lbrycrd/${TRAVIS_BRANCH}/lbrycrd-${NAME}-test.zip -o temp.zip diff --git a/src/test/setup_common.cpp b/src/test/setup_common.cpp index abb57b9df..aef1e8123 100644 --- a/src/test/setup_common.cpp +++ b/src/test/setup_common.cpp @@ -70,7 +70,6 @@ std::ostream& operator<<(std::ostream& os, const CSupportValue& support) BasicTestingSetup::BasicTestingSetup(const std::string& chainName) : m_path_root(fs::temp_directory_path() / "test_common_" PACKAGE_TARNAME / strprintf("%lu_%i", (unsigned long)GetTime(), (int)(InsecureRandRange(1 << 30)))) { - fs::create_directories(m_path_root); gArgs.ForceSetArg("-datadir", m_path_root.string()); ClearDatadirCache(); SelectParams(chainName);