all repos — hastyscribe @ e8db394f0c6eaccc023cb35f3b5aecbdd4fc30d5

A professional markdown compiler.

Update .travis.yml
Fabio Cevasco h3rald@h3rald.com
Thu, 23 Feb 2017 17:56:20 +0100
commit

e8db394f0c6eaccc023cb35f3b5aecbdd4fc30d5

parent

1907d0ed689b85cbbdb75cb633fcea962786e217

1 files changed, 8 insertions(+), 1 deletions(-)

jump to
M .travis.yml.travis.yml

@@ -37,9 +37,16 @@ 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="nifty:nim-$BRANCH/bin${PATH:+:$PATH}" + - export PATH="$PATH:$PWD/nifty:$PWD/nim-$BRANCH/bin" script: - nifty install - nifty build discount