Skip to content

Commit 7052758

Browse files
committed
Merge branch 'master' into devel
2 parents 651af91 + 0a7b9c3 commit 7052758

File tree

4 files changed

+40
-29
lines changed

4 files changed

+40
-29
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
!/src/private
1313
!/test
1414
!/examples
15-
!/circle.yml
15+
!/.travis.yml

.travis.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
language: c
2+
before_install:
3+
- |
4+
if [ "$TRAVIS_BRANCH" = master ]; then
5+
export branch=master
6+
else
7+
export branch=devel
8+
fi
9+
install:
10+
- |
11+
if [ ! -x nim-$branch/bin/nim ]; then
12+
git clone -b $branch --depth 1 git://github.com/nim-lang/nim nim-$branch/
13+
cd nim-$branch
14+
git clone -b $branch --depth 1 git://github.com/nim-lang/csources csources/
15+
cd csources
16+
sh build.sh
17+
cd ..
18+
rm -rf csources
19+
bin/nim c koch
20+
./koch boot -d:release
21+
cd ..
22+
else
23+
cd nim-$branch
24+
git fetch origin
25+
if ! git merge FETCH_HEAD | grep "Already up-to-date"; then
26+
bin/nim c koch
27+
./koch boot -d:release
28+
fi
29+
cd ..
30+
fi
31+
before_script:
32+
- export PATH=nim-$branch/bin:$PATH
33+
script:
34+
- nim compile --verbosity:0 --run test/test
35+
cache:
36+
directories:
37+
- nim-master
38+
- nim-devel

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
**This is a port of [docopt][docopt.py] to [Nim][]. Visit [docopt.org][] for more information.**
55

6-
[![Build Status](https://circleci.com/gh/docopt/docopt.nim.png?style=shield)](https://circleci.com/gh/docopt/docopt.nim)
6+
[![Build Status](https://api.travis-ci.org/docopt/docopt.nim.svg?branch=master)](https://travis-ci.org/docopt/docopt.nim)
77

88
```nim
99
let doc = """

circle.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)