all repos — litestore @ 5533c4d97b9d81537d7a923b76ae11691566e4c3

A minimalist nosql document store.

Added .travis.yml.
h3rald h3rald@h3rald.com
Sun, 08 May 2016 17:32:47 +0200
commit

5533c4d97b9d81537d7a923b76ae11691566e4c3

parent

a44ee66a865b1ce83b1c8423b301aa294a24517c

1 files changed, 47 insertions(+), 0 deletions(-)

jump to
A .travis.yml

@@ -0,0 +1,47 @@

+# Copied from https://github.com/nim-lang/Nim/wiki/TravisCI +language: c +env: + # Build and test against the master and devel branches of Nim + - BRANCH=master + - BRANCH=devel +compiler: + # Build and test using both gcc and clang + - gcc + - clang +matrix: + allow_failures: + # Ignore failures when building against the devel Nim branch + - env: BRANCH=devel + fast_finish: true +install: + - | + if [ ! -x nim-$BRANCH/bin/nim ]; then + git clone -b $BRANCH --depth 1 git://github.com/nim-lang/nim nim-$BRANCH/ + cd nim-$BRANCH + git clone -b $BRANCH --depth 1 git://github.com/nim-lang/csources csources/ + cd csources + sh build.sh + cd .. + rm -rf csources + bin/nim c koch + ./koch boot -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 + fi + fi + cd .. +before_script: + - export PATH="nim-$BRANCH/bin${PATH:+:$PATH}" +script: + # Replace uppercase strings! + - nim c --cc:$CC --verbosity:0 -r litestore.nim + # Optional: build docs. + #- nim doc --docSeeSrcUrl:https://github.com/h3rald/litestore/blob/master --project litestore.nim +cache: + directories: + - nim-master + - nim-devel