28 lines
596 B
YAML
28 lines
596 B
YAML
os:
|
|
- linux
|
|
- osx
|
|
|
|
language: c
|
|
|
|
env:
|
|
- BRANCH=0.19.4
|
|
- BRANCH=devel
|
|
|
|
cache:
|
|
directories:
|
|
- "$HOME/.choosenim/toolchains/nim-0.19.4"
|
|
|
|
install:
|
|
# `set -u` failed for ubuntu: /home/travis/.travis/job_stages: line 107: secure: unbound variable
|
|
- set -e
|
|
- export CHOOSENIM_CHOOSE_VERSION=$BRANCH
|
|
- |
|
|
curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh
|
|
sh init.sh -y
|
|
- export PATH=$HOME/.nimble/bin:$PATH
|
|
|
|
script:
|
|
- set -e
|
|
- nimble --verbose install -y
|
|
- nimble --verbose test
|
|
- nimble --verbose --nimbleDir:`pwd`/build/fakenimble install nimterop -y
|