Finishing touches for travis build to succeed.

This commit is contained in:
Dominik Picheta 2015-12-30 01:32:00 +00:00
commit 8576776de7
3 changed files with 6 additions and 3 deletions

View file

@ -54,6 +54,10 @@ test "can refresh with custom urls":
let configBakFile = getConfigDir() / "nimble" / "nimble.ini.bak"
if fileExists(configFile):
moveFile(configFile, configBakFile)
# Ensure config dir exists
createDir(getConfigDir() / "nimble")
writeFile(configFile, """
[PackageList]
name = "official"