.gitlab-ci.yml 243 Bytes
Newer Older
NOEL Philippe's avatar
NOEL Philippe committed
1 2 3 4 5 6
variables:
  GIT_STRATEGY: clone

stages:
  - tests
  - build
NOEL Philippe's avatar
NOEL Philippe committed
7
  - deploy
NOEL Philippe's avatar
NOEL Philippe committed
8 9
  
test:
NOEL Philippe's avatar
NOEL Philippe committed
10
  stage: tests
NOEL Philippe's avatar
NOEL Philippe committed
11 12 13 14 15 16 17 18 19
  tags:
    - gitlab-ci-rust
  script:
    - cargo test

build:
  stage: build
  tags:
    - gitlab-ci-rust
NOEL Philippe's avatar
NOEL Philippe committed
20
  script:
NOEL Philippe's avatar
NOEL Philippe committed
21
    - cargo build --release