Build against a pinned version of Nim devel on travis.
This commit is contained in:
parent
9cf83b281f
commit
67cf608f55
2 changed files with 11 additions and 7 deletions
16
.travis.yml
16
.travis.yml
|
|
@ -4,18 +4,22 @@ dist: trusty
|
|||
|
||||
language: c
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- "$HOME/.nimble"
|
||||
- "$HOME/.choosenim"
|
||||
|
||||
install:
|
||||
- export CHOOSENIM_CHOOSE_VERSION="#7bb93c730ea87f"
|
||||
- |
|
||||
wget https://nim-lang.org/download/nim-0.18.0.tar.xz
|
||||
tar -xf nim-0.18.0.tar.xz
|
||||
cd nim-0.18.0
|
||||
sh build.sh
|
||||
cd ..
|
||||
curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh
|
||||
sh init.sh -y
|
||||
|
||||
before_script:
|
||||
- set -e
|
||||
- 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:
|
||||
- cd tests
|
||||
|
|
|
|||
|
|
@ -905,7 +905,7 @@ The ``master`` branch is...
|
|||
|
||||
* default
|
||||
* 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...
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue