Finishing touches for travis build to succeed.
This commit is contained in:
parent
c53350cc61
commit
8576776de7
3 changed files with 6 additions and 3 deletions
|
|
@ -15,10 +15,9 @@ before_script:
|
||||||
- export PATH=`pwd`/Nim/bin:$PATH
|
- export PATH=`pwd`/Nim/bin:$PATH
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- nim c src/nimble
|
|
||||||
- ./src/nimble install -y
|
|
||||||
- cd tests
|
- cd tests
|
||||||
- nim c -r tester
|
- nim c -r tester
|
||||||
|
- ./src/nimble install -y
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
irc: "chat.freenode.net#nimbuild"
|
irc: "chat.freenode.net#nimbuild"
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Nimble
|
# Nimble [](https://travis-ci.org/nim-lang/nimble)
|
||||||
|
|
||||||
Nimble is a *beta*-grade *package manager* for the [Nim programming
|
Nimble is a *beta*-grade *package manager* for the [Nim programming
|
||||||
language](http://nim-lang.org).
|
language](http://nim-lang.org).
|
||||||
|
|
|
||||||
|
|
@ -54,6 +54,10 @@ test "can refresh with custom urls":
|
||||||
let configBakFile = getConfigDir() / "nimble" / "nimble.ini.bak"
|
let configBakFile = getConfigDir() / "nimble" / "nimble.ini.bak"
|
||||||
if fileExists(configFile):
|
if fileExists(configFile):
|
||||||
moveFile(configFile, configBakFile)
|
moveFile(configFile, configBakFile)
|
||||||
|
|
||||||
|
# Ensure config dir exists
|
||||||
|
createDir(getConfigDir() / "nimble")
|
||||||
|
|
||||||
writeFile(configFile, """
|
writeFile(configFile, """
|
||||||
[PackageList]
|
[PackageList]
|
||||||
name = "official"
|
name = "official"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue