Travis fixes
This commit is contained in:
parent
ee7a55f2ec
commit
713703caae
2 changed files with 11 additions and 2 deletions
12
.travis.yml
12
.travis.yml
|
|
@ -4,11 +4,19 @@ os:
|
||||||
- linux
|
- linux
|
||||||
- osx
|
- osx
|
||||||
dist: trusty
|
dist: trusty
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- python-pygments
|
||||||
|
- libssh2-1-dev
|
||||||
|
- libgcrypt20-dev
|
||||||
|
- libgpg-error-dev
|
||||||
before_script:
|
before_script:
|
||||||
- export RELEASE=`curl --silent https://api.github.com/repos/nim-lang/nightlies/releases/latest | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/'`
|
- 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 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`
|
- 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
|
- tar xf $TXZ
|
||||||
- cd nim-$VERSION
|
- cd nim-$VERSION
|
||||||
- sh build.sh
|
- sh build.sh
|
||||||
|
|
@ -19,4 +27,4 @@ before_script:
|
||||||
- cd ..
|
- cd ..
|
||||||
script:
|
script:
|
||||||
- nimble install -y
|
- nimble install -y
|
||||||
- nimble tests
|
- nimble test
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
[](https://gitter.im/nimgen/Lobby)
|
[](https://gitter.im/nimgen/Lobby)
|
||||||
[](https://ci.appveyor.com/project/genotrance/nimgen/branch/master)
|
[](https://ci.appveyor.com/project/genotrance/nimgen/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.
|
Nimgen is a helper for [c2nim](https://github.com/nim-lang/c2nim/) to simplify and automate the wrapping of C libraries.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue