Commit 034fcd94 authored by Robert Czechowski's avatar Robert Czechowski
Browse files

Add .gitlab-ci.yml

parent 99643e54
Pipeline #40 passed with stages
in 6 minutes and 5 seconds
image: 'rust:latest'
stages:
- test
- doc
- build
variables:
CARGO_HOME: $CI_PROJECT_DIR/cargo
APT_CACHE_DIR: $CI_PROJECT_DIR/apt
before_script:
- apt-get update -yq
test:
stage: test
script:
- rustc --version
- cargo --version
- cargo test --verbose
pages:
stage: doc
script:
- cargo doc --no-deps
- mv target/doc public
- echo '<meta http-equiv="refresh" content="0; url=citest">' > public/index.html
artifacts:
paths:
- public
only:
- master
cache:
paths:
- apt/
- cargo/
- target/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment