From 8576776de7995d6c4e33c90d47d21a3e5714bd83 Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Wed, 30 Dec 2015 01:32:00 +0000 Subject: [PATCH] Finishing touches for travis build to succeed. --- .travis.yml | 3 +-- readme.markdown | 2 +- tests/tester.nim | 4 ++++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index ee77799..524fbe5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,10 +15,9 @@ before_script: - export PATH=`pwd`/Nim/bin:$PATH script: - - nim c src/nimble - - ./src/nimble install -y - cd tests - nim c -r tester + - ./src/nimble install -y notifications: irc: "chat.freenode.net#nimbuild" \ No newline at end of file diff --git a/readme.markdown b/readme.markdown index 3cf746f..594e465 100644 --- a/readme.markdown +++ b/readme.markdown @@ -1,4 +1,4 @@ -# Nimble +# Nimble [![Build Status](https://travis-ci.org/nim-lang/nimble.svg?branch=master)](https://travis-ci.org/nim-lang/nimble) Nimble is a *beta*-grade *package manager* for the [Nim programming language](http://nim-lang.org). diff --git a/tests/tester.nim b/tests/tester.nim index 950c911..69b238a 100644 --- a/tests/tester.nim +++ b/tests/tester.nim @@ -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"