From e335eedae3803aa16f6cd4e6c999c2561328e9c9 Mon Sep 17 00:00:00 2001 From: Andrea Ferretti Date: Tue, 20 Oct 2015 16:33:45 +0200 Subject: [PATCH] Added Travis --- .travis.yml | 16 ++++++++++++++++ README.md | 4 ++++ 2 files changed, 20 insertions(+) create mode 100644 .travis.yml create mode 100644 README.md diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..8ba8c59 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,16 @@ +language: c +compiler: + - gcc +before_install: + # Install nim + - git clone -b master git://github.com/nim-lang/Nim.git --depth 1 + - cd Nim + - git clone -b master --depth 1 git://github.com/nim-lang/csources + - cd csources && sh build.sh + - cd .. + - bin/nim c koch + - ./koch boot -d:release + - export PATH=$PWD/bin:$PATH + - cd .. +script: + - nim c --run --threads:on test \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..b966431 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +RXNim +===== + +[![Build Status](https://travis-ci.org/andreaferretti/rxnim.svg?branch=master)](https://travis-ci.org/andreaferretti/rxnim) \ No newline at end of file