Introducing auto-built docker image with latest Nim devel version.
In order to setup Travis CI for your project using this container, copy the following lines to your .travis.yml file in the root of your repository:
sudo: required
services:
- docker
before_install:
- docker pull yglukhov/devel
script:
- docker run -v "$(pwd):/project" -w /project yglukhov/devel nim --version
- docker run -v "$(pwd):/project" -w /project yglukhov/devel nimble tests
Also make sure to enable your project in Travis CI. This configuration will run nimble tests in the root of your repository.
Spoiler: further plan is to develop nim regressions collector, where every participating project will notify Nim community if it fails with recent Nim version. Stay tuned! ;)
Hi @yglukhov, your further plan is a good idea! I've wished for something like that to exist.
Where can I find information on nimble tests and how to use it or configure it for my project?
For those who do not want to run everything inside a docker, here is an example of how to integrate Travis manually.
But of course, one will lose the benefit of the coming regression collector :-)