Distinguish Job Build vs Release
This commit is contained in:
parent
3cfff728e8
commit
59aa9dede3
10
.travis.yml
10
.travis.yml
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue