Fixes Travis CI run with choosenim.

Squashed commit of the following:

commit 0f8a7e178d
Author: Dominik Picheta <dominikpicheta@gmail.com>
Date:   Tue Aug 28 14:56:03 2018 +0100

    Fixes NIM_PREFIX_DIR affecting testing logs.

commit f566e8bcd1
Author: Dominik Picheta <dominikpicheta@gmail.com>
Date:   Tue Aug 28 14:26:45 2018 +0100

    Attempt to fix travis.
This commit is contained in:
Dominik Picheta 2018-08-28 15:17:32 +01:00
commit f9c54f7607
2 changed files with 30 additions and 24 deletions

View file

@ -11,6 +11,7 @@ cache:
install:
- export CHOOSENIM_CHOOSE_VERSION="#7bb93c730ea87f"
- export NIM_LIB_PREFIX="$HOME/.choosenim/toolchains/nim-"$CHOOSENIM_CHOOSE_VERSION
- |
curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh
sh init.sh -y