nim-docker/README.md

816 B

nim-docker Build Status

This is a helper repo for auto building docker image with latest Nim devel version. In order to setup Travis CI for your project using this image, copy the following lines to your .travis.yml file in the root of your repository:

sudo: required
services:
  - docker
before_install:
  - docker pull statusteam/nim-base
script:
  - docker run statusteam/nim-base nim --version
  - docker run -v "$(pwd):/project" -w /project statusteam/nim-base nimble test

Also make sure to enable your project in Travis CI. This configuration will run nimble test in the root of your repository.