auto test
This commit is contained in:
parent
1f9726293b
commit
dc9821c0b8
|
@ -0,0 +1,36 @@
|
|||
dist: bionic
|
||||
sudo: false
|
||||
|
||||
language: c
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- "$HOME/.nimble"
|
||||
- "$HOME/.choosenim"
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libsnappy1v5
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
include:
|
||||
- os: linux
|
||||
env: CHANNEL=stable
|
||||
|
||||
install:
|
||||
- |
|
||||
wget http://ftp.us.debian.org/debian/pool/main/l/leveldb/libleveldb1d_1.22-3_amd64.deb
|
||||
wget http://ftp.us.debian.org/debian/pool/main/l/leveldb/libleveldb-dev_1.22-3_amd64.deb
|
||||
sudo dpkg -i *.deb
|
||||
- |
|
||||
curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh
|
||||
sh init.sh -y
|
||||
- export CHOOSENIM_NO_ANALYTICS=1
|
||||
- export PATH=$HOME/.nimble/bin:$PATH
|
||||
- echo "export PATH=~/.nimble/bin:$PATH" >> ~/.profile
|
||||
- yes | choosenim $CHANNEL
|
||||
|
||||
script:
|
||||
- nimble test
|
|
@ -13,7 +13,7 @@ const
|
|||
levelDbTrue = uint8(1)
|
||||
levelDbFalse = uint8(0)
|
||||
|
||||
version = "0.3.0"
|
||||
version* = "0.3.0"
|
||||
|
||||
proc free(p: pointer) {.importc.}
|
||||
|
||||
|
|
Loading…
Reference in New Issue