File tree Expand file tree Collapse file tree 4 files changed +40
-29
lines changed Expand file tree Collapse file tree 4 files changed +40
-29
lines changed Original file line number Diff line number Diff line change 12
12
! /src /private
13
13
! /test
14
14
! /examples
15
- ! /circle .yml
15
+ ! /.travis .yml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change 3
3
4
4
** This is a port of [ docopt] [ docopt.py ] to [ Nim] [ ] . Visit [ docopt.org] [ ] for more information.**
5
5
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 )
7
7
8
8
``` nim
9
9
let doc = """
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments