Merge branch 'master' of https://github.com/h3rald/hastyscribe
h3rald h3rald@h3rald.com
Sat, 11 Mar 2017 15:16:07 +0100
1 files changed,
17 insertions(+),
2 deletions(-)
jump to
M
.travis.yml
→
.travis.yml
@@ -33,13 +33,28 @@ ./koch boot -d:release
fi fi cd .. + if [ ! -x nifty/nifty ]; then + git clone --depth 1 git://github.com/h3rald/nifty nifty/ + cd nifty + ../nim-$BRANCH/bin/nim c --cc:$CC --verbosity:0 -d:release nifty.nim + else + cd nifty + git fetch origin + if ! git merge FETCH_HEAD | grep "Already up-to-date"; then + ../nim-$BRANCH/bin/nim c --cc:$CC --verbosity:0 -d:release nifty.nim + fi + fi + cd .. before_script: - - export PATH="nim-$BRANCH/bin${PATH:+:$PATH}" + - export PATH="$PATH:$PWD/nifty:$PWD/nim-$BRANCH/bin" script: - - nim c --cc:$CC --verbosity:0 hastyscribe.nim + - nifty install + - nifty build discount + - nim c --cc:$CC --verbosity:0 -d:discount hastyscribe.nim # Optional: build docs. #- nim doc --docSeeSrcUrl:https://github.com/h3rald/litestore/blob/master --project litestore.nim cache: directories: - nim-master - nim-devel + - nifty