Build against a pinned version of Nim devel on travis.

This commit is contained in:
Dominik Picheta 2018-08-27 22:31:17 +01:00
commit 67cf608f55
2 changed files with 11 additions and 7 deletions

View file

@ -4,18 +4,22 @@ dist: trusty
language: c language: c
cache:
directories:
- "$HOME/.nimble"
- "$HOME/.choosenim"
install: install:
- export CHOOSENIM_CHOOSE_VERSION="#7bb93c730ea87f"
- | - |
wget https://nim-lang.org/download/nim-0.18.0.tar.xz curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh
tar -xf nim-0.18.0.tar.xz sh init.sh -y
cd nim-0.18.0
sh build.sh
cd ..
before_script: before_script:
- set -e - set -e
- set -x - set -x
- export PATH=`pwd`/nim-0.18.0/bin:$HOME/.nimble/bin:$PATH - export CHOOSENIM_NO_ANALYTICS=1
- export PATH=$HOME/.nimble/bin:$PATH
script: script:
- cd tests - cd tests

View file

@ -905,7 +905,7 @@ The ``master`` branch is...
* default * default
* bleeding edge * bleeding edge
* tested to compile with the latest Nim version * tested to compile with a pinned (close to HEAD) commit of Nim
The ``stable`` branch is... The ``stable`` branch is...