.gitlab-ci.yml 1.0 KB

1234567891011121314151617181920212223242526272829
  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. # Optional: Pick zero or more services to be used on all builds.
  6. # Only needed when using a docker container to run your tests in.
  7. # Check out: http://docs.gitlab.com/ce/ci/docker/using_docker_images.html#what-is-a-service
  8. #services:
  9. # - mysql:latest
  10. # - redis:latest
  11. # - postgres:latest
  12. # Optional: Install a C compiler, cmake and git into the container.
  13. # You will often need this when you (or any of your dependencies) depends on C code.
  14. #before_script:
  15. #- apt-get update -yqq
  16. #- apt-get install -yqq --no-install-recommends build-essential
  17. # Use cargo to test the project
  18. test:default:
  19. script:
  20. - rustc --version && cargo --version # Print version info for debugging
  21. - cargo test
  22. test:no_std:
  23. script:
  24. - rustc --version && cargo --version # Print version info for debugging
  25. - cargo test --features no_std