nimble/.travis.yml
Dominik Picheta f9c54f7607 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.
2018-08-28 15:17:32 +01:00

32 lines
597 B
YAML

os:
- linux
dist: trusty
language: c
cache:
directories:
- "$HOME/.nimble"
- "$HOME/.choosenim"
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
before_script:
- set -e
- set -x
- export CHOOSENIM_NO_ANALYTICS=1
- export PATH=$HOME/.nimble/bin:$PATH
script:
- cd tests
- nim c -r tester
- cd ..
- ./src/nimble install -y
notifications:
irc: "chat.freenode.net#nimbuild"