Use statusim docker image

This commit is contained in:
Yuriy Glukhov 2018-03-30 17:06:35 +03:00
parent 3615515fd9
commit 9e74414d1a
1 changed files with 7 additions and 19 deletions

View File

@ -1,20 +1,8 @@
sudo: false
language: c
os:
- linux
# - osx
dist: trusty
before_script:
- git clone https://github.com/nim-lang/Nim.git
- cd Nim
- git clone --depth 1 https://github.com/nim-lang/csources
- cd csources && sh build.sh
- cd ..
- bin/nim c koch
- ./koch boot -d:release
- ./koch nimble
- export PATH=$(pwd)/bin:$PATH
- cd ..
sudo: required
services:
- docker
before_install:
- docker pull statusteam/nim-base
script:
- nimble install -y
- nimble test
- docker run statusteam/nim-base nim --version
- docker run -v "$(pwd):/project" -w /project statusteam/nim-base sh -c "nimble install -dy && nimble test"