Add unittest
[platform/upstream/rust-seahash.git] / .gitlab-ci.yml
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/
4 image: "rust:latest"
5
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
9 # services:
10 #   - mysql:latest
11 #   - redis:latest
12 #   - postgres:latest
13
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.
16 # before_script:
17 #   - apt-get update -yqq
18 #   - apt-get install -yqq --no-install-recommends build-essential
19
20 # Use cargo to test the project
21 test:cargo:
22   script:
23     - rustc --version && cargo --version  # Print version info for debugging
24     - cargo test --all --verbose --all-features