Commit 1f68786b authored by Emmanuel Raviart's avatar Emmanuel Raviart

Merge branch 'feature/CI' into 'master'

Add CI to the project

See merge request !6
parents fcaa1aff 29d28ac5
Pipeline #92211 passed with stage
in 2 minutes and 1 second
image: buildpack-deps:stretch
- build
stage: build
script: cargo build -p tricoteuses_api_assemblee
- RUSTUP_HOME=/usr/local/rustup
- CARGO_HOME=/usr/local/cargo
- PATH=$HOME/.cargo/bin:$PATH
- JQ_VERSION='1.5'
- set -eux; url=""; wget "$url";
- chmod +x rustup-init; ./rustup-init -y --no-modify-path --default-toolchain nightly;
- rustup --version
- cargo --version
- rustc --version
- apt-get update && apt-get install -y unzip graphicsmagick
- wget --no-check-certificate -O /tmp/jq-release.key;
- wget --no-check-certificate${JQ_VERSION}/jq-linux64.asc -O /tmp/jq-linux64.asc;
- wget --no-check-certificate${JQ_VERSION}/jq-linux64 -O /tmp/jq-linux64;
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