Skip to content

Commit

Permalink
Merge pull request #432 from fitzgen/name-field-for-ci-jobs
Browse files Browse the repository at this point in the history
CI: Use `name` field for Travis CI jobs
  • Loading branch information
fitzgen authored Nov 5, 2018
2 parents dac12d3 + f63abe0 commit 91e3de3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ DEPLOY_TO_GITHUB: &DEPLOY_TO_GITHUB
matrix:
include:

# tests pass
- env: JOB=test RUST_BACKTRACE=1
- name: Tests
env: RUST_BACKTRACE=1
rust: nightly
addons:
firefox: latest
Expand All @@ -49,10 +49,10 @@ matrix:
script:
- cargo test --locked
- rustup component add rustfmt-preview
- cargo fmt --version
- cargo fmt --all -- --check

# book
- env: JOB=book
- name: Book
rust: stable
before_script:
- (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update)
Expand All @@ -71,8 +71,8 @@ matrix:
on:
branch: master

# dist linux binary
- env: JOB=dist-linux TARGET=x86_64-unknown-linux-musl
- name: Linux Binary
env: TARGET=x86_64-unknown-linux-musl
rust: nightly
before_script: rustup target add $TARGET
script: cargo build --release --target $TARGET --locked --features vendored-openssl
Expand All @@ -82,8 +82,8 @@ matrix:
- musl-tools
<<: *DEPLOY_TO_GITHUB

# dist OSX binary
- env: JOB=dist-osx MACOSX_DEPLOYMENT_TARGET=10.7 TARGET=x86_64-apple-darwin
- name: macOS Binary
env: MACOSX_DEPLOYMENT_TARGET=10.7 TARGET=x86_64-apple-darwin
os: osx
rust: nightly
script: cargo build --release --target $TARGET --locked
Expand Down

0 comments on commit 91e3de3

Please sign in to comment.