nimble/.travis.yml
2019-06-11 21:34:07 +01:00

34 lines
616 B
YAML

os:
- linux
- osx
language: c
env:
- BRANCH=0.19.6
- BRANCH=0.20.0
- BRANCH=#ced0527ae334439a10e1719d1eccb727c19dc781
cache:
directories:
- "$HOME/.choosenim/toolchains/nim-0.19.6"
- "$HOME/.choosenim/toolchains/nim-0.20.0"
install:
- export CHOOSENIM_CHOOSE_VERSION=$BRANCH
- |
curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh
sh init.sh -y
before_script:
- 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"