diff --git a/.travis.yml b/.travis.yml index f69ebf6..6f615b6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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"