aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml12
-rw-r--r--README.md1
2 files changed, 11 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 9c56b1f..720d143 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,11 +4,19 @@ os:
- linux
- osx
dist: trusty
+addons:
+ apt:
+ packages:
+ - python-pygments
+ - libssh2-1-dev
+ - libgcrypt20-dev
+ - libgpg-error-dev
before_script:
- export RELEASE=`curl --silent https://api.github.com/repos/nim-lang/nightlies/releases/latest | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/'`
- export TXZ=`curl --silent https://api.github.com/repos/nim-lang/nightlies/releases/latest | grep '"name":' | sed -E 's/.*"([^"]+)".*/\1/' | grep linux`
- export VERSION=`echo $TXZ | cut -d"-" -f 2,2`
- - curl -L --silent -o $TXZ https://github.com/nim-lang/nightlies/releases/download/$RELEASE/$TXZ
+ - echo "RELEASE = $RELEASE, TXZ = $TXZ, VERSION = $VERSION"
+ - curl -L --silent -o $TXZ "https://github.com/nim-lang/nightlies/releases/download/$RELEASE/$TXZ"
- tar xf $TXZ
- cd nim-$VERSION
- sh build.sh
@@ -19,4 +27,4 @@ before_script:
- cd ..
script:
- nimble install -y
- - nimble tests
+ - nimble test
diff --git a/README.md b/README.md
index 153fe98..88bed4d 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,6 @@
[![Chat on Gitter](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/nimgen/Lobby)
[![Build status](https://ci.appveyor.com/api/projects/status/05t5ja88lmv1rt3r/branch/master?svg=true)](https://ci.appveyor.com/project/genotrance/nimgen/branch/master)
+[![Build Status](https://travis-ci.org/genotrance/nimgen.svg?branch=master)](https://travis-ci.org/genotrance/nimgen)
Nimgen is a helper for [c2nim](https://github.com/nim-lang/c2nim/) to simplify and automate the wrapping of C libraries.