nim-rlp/.travis.yml

30 lines
677 B
YAML
Raw Normal View History

2018-01-25 19:22:13 +00:00
language: c
env:
- BRANCH=devel
# - BRANCH=master # At the moment nim-rlp supports only the devel branch of Nim
compiler:
- gcc
- clang
before_install:
# Install nim and nimble
- |
if [ ! -x nim-$BRANCH/bin/nim ]; then
git clone -b $BRANCH --depth 1 git://github.com/nim-lang/nim nim-$BRANCH/
cd nim-$BRANCH
sh ci/build.sh
./koch tools -d:release
else
cd nim-$BRANCH
git fetch origin
if ! git merge FETCH_HEAD | grep "Already up-to-date"; then
bin/nim c koch
./koch boot -d:release
./koch tools -d:release
fi
fi
export PATH=$PWD/bin:$PATH
cd ..
script:
2018-02-21 11:04:00 +00:00
- nimble test -y
2018-01-25 19:22:13 +00:00