mirror of https://github.com/status-im/nimPNG.git
Added travis
This commit is contained in:
parent
22b4278e75
commit
48eff0bbb2
|
@ -0,0 +1,8 @@
|
||||||
|
sudo: required
|
||||||
|
services:
|
||||||
|
- docker
|
||||||
|
before_install:
|
||||||
|
- docker pull yglukhov/nim-base
|
||||||
|
script:
|
||||||
|
- docker run -v "$(pwd):/project" -w /project yglukhov/nim-base nim --version
|
||||||
|
- docker run -v "$(pwd):/project" -w /project yglukhov/nim-base nimble tests
|
|
@ -1,9 +1,14 @@
|
||||||
[Package]
|
# Package
|
||||||
name = "nimPNG"
|
|
||||||
version = "0.1.8"
|
version = "0.1.8"
|
||||||
author = "Andri Lim"
|
author = "Andri Lim"
|
||||||
description = "PNG encoder and decoder"
|
description = "PNG encoder and decoder"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
||||||
[Deps]
|
# Deps
|
||||||
Requires: "nim >= 0.11.2"
|
requires "nim >= 0.11.2"
|
||||||
|
|
||||||
|
task tests, "Run tests":
|
||||||
|
withDir("tester"):
|
||||||
|
exec "nim c -r test.nim"
|
||||||
|
exec "nim c -r testCodec.nim"
|
||||||
|
exec "nim c -r testSuite.nim"
|
||||||
|
|
Loading…
Reference in New Issue