Distinguish Job Build vs Release

This commit is contained in:
Fabrice Reix 2020-09-19 18:14:28 +02:00
parent 3cfff728e8
commit 59aa9dede3
1 changed files with 7 additions and 3 deletions

View File

@ -5,7 +5,8 @@ rust:
jobs: jobs:
include: include:
- os: linux - stage: "Build"
os: linux
dist: bionic dist: bionic
before_script: before_script:
- ci/setup.sh - ci/setup.sh
@ -15,7 +16,8 @@ jobs:
- export PATH="$PWD/target/debug:$PATH" - export PATH="$PWD/target/debug:$PATH"
- integration/integration.sh - integration/integration.sh
- os: linux - stage: "Release"
os: linux
dist: bionic dist: bionic
before_script: before_script:
- export VERSION=$(grep '^version' Cargo.toml | cut -f2 -d'"') - export VERSION=$(grep '^version' Cargo.toml | cut -f2 -d'"')
@ -31,7 +33,9 @@ jobs:
on: on:
all_branch: true all_branch: true
tags: true tags: true
- os: osx
- stage: "Release"
os: osx
before_script: before_script:
- export VERSION=$(grep '^version' Cargo.toml | cut -f2 -d'"') - export VERSION=$(grep '^version' Cargo.toml | cut -f2 -d'"')
script: script: