Added travis cfg

This commit is contained in:
Yuriy Glukhov 2018-03-03 11:52:53 +02:00
parent 89d2099c4b
commit 34cbb16c72
3 changed files with 13 additions and 1 deletions

8
.travis.yml Normal file
View File

@ -0,0 +1,8 @@
sudo: required
services:
- docker
before_install:
- docker pull yglukhov/nim-base
script:
- docker run yglukhov/nim-base nim --version
- docker run -v "$(pwd):/project" -w /project yglukhov/nim-base nimble test

View File

@ -1,5 +1,6 @@
# nim-eth-bloom
Ethereum Bloom Filter
Ethereum Bloom Filter [![Build Status](https://travis-ci.org/status-im/nim-eth-bloom.svg?branch=master)](https://travis-ci.org/status-im/nim-eth-bloom)
## License

View File

@ -11,3 +11,6 @@ srcDir = "src"
requires "nim >= 0.17.0",
"https://github.com/status-im/nim-keccak-tiny.git >= 0.1.0",
"https://github.com/status-im/nim-ttmath >= 0.5.0"
task test, "Run tests":
setCommand "cpp", "tests/test1.nim"