Use statusim docker image

This commit is contained in:
Yuriy Glukhov 2018-03-30 17:06:35 +03:00
parent 3615515fd9
commit 9e74414d1a

View File

@ -1,20 +1,8 @@
sudo: false sudo: required
language: c services:
os: - docker
- linux before_install:
# - osx - docker pull statusteam/nim-base
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 ..
script: script:
- nimble install -y - docker run statusteam/nim-base nim --version
- nimble test - docker run -v "$(pwd):/project" -w /project statusteam/nim-base sh -c "nimble install -dy && nimble test"