1 # This file is a template, and might need editing before it works on your project.
2 # Official language image. Look for the different tagged releases at:
3 # https://hub.docker.com/r/library/rust/tags/
6 # Optional: Pick zero or more services to be used on all builds.
7 # Only needed when using a docker container to run your tests in.
8 # Check out: http://docs.gitlab.com/ce/ci/docker/using_docker_images.html#what-is-a-service
14 # Optional: Install a C compiler, cmake and git into the container.
15 # You will often need this when you (or any of your dependencies) depends on C code.
17 # - apt-get update -yqq
18 # - apt-get install -yqq --no-install-recommends build-essential
20 # Use cargo to test the project
23 - rustc --version && cargo --version # Print version info for debugging
24 - cargo test --all --verbose --all-features