image: "rust:latest"
# Add redis container for integration tests. Should be accessible at hostname "redis"
# See also: https://docs.gitlab.com/ce/ci/docker/using_docker_images.html#what-is-a-service
services:
- redis:latest
# Build/test all targets, including examples
test:cargo:
script:
- rustc --version && cargo --version
- cargo test --all