Skip to content

Commit bb8bb0d

Browse files
committed
Auto merge of #6530 - dwijnand:fix-badge, r=alexcrichton
Fix the Travis CI badge And with this PR trigger the first travis-ci.com build! :D
2 parents 3c7214b + 5576372 commit bb8bb0d

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.travis.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ matrix:
1010
include:
1111
- env: TARGET=x86_64-unknown-linux-gnu
1212
ALT=i686-unknown-linux-gnu
13-
if: branch != master OR type = pull_request
13+
1414
- env: TARGET=x86_64-apple-darwin
1515
ALT=i686-apple-darwin
1616
os: osx
@@ -30,21 +30,21 @@ matrix:
3030
ALT=i686-unknown-linux-gnu
3131
rust: 1.31.0
3232
script:
33-
- rustup toolchain install nightly
34-
- cargo +nightly generate-lockfile -Z minimal-versions
35-
- cargo -V
36-
- cargo test --features=deny-warnings
33+
- rustup toolchain install nightly-2019-01-09 || travis_terminate 1
34+
- cargo +nightly-2019-01-09 generate-lockfile -Z minimal-versions || travis_terminate 1
35+
- cargo -V || travis_terminate 1
36+
- cargo test --features=deny-warnings || travis_terminate 1
3737
if: branch != master OR type = pull_request
3838

3939
- env: TARGET=x86_64-unknown-linux-gnu
4040
ALT=i686-unknown-linux-gnu
41-
rust: nightly
41+
rust: nightly-2019-01-09
4242
install:
4343
- travis_retry curl -Lf https://github.com/rust-lang-nursery/mdBook/releases/download/v0.1.7/mdbook-v0.1.7-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=$HOME/.cargo/bin
4444
script:
45-
- cargo test --features=deny-warnings
46-
- cargo doc --no-deps
47-
- (cd src/doc && mdbook build --dest-dir ../../target/doc)
45+
- cargo test --features=deny-warnings || travis_terminate 1
46+
- cargo doc --no-deps || travis_terminate 1
47+
- (cd src/doc && mdbook build --dest-dir ../../target/doc) || travis_terminate 1
4848
if: branch != master OR type = pull_request
4949

5050
exclude:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Learn more at https://doc.rust-lang.org/cargo/
66

77
## Code Status
88

9-
[![Build Status](https://travis-ci.org/rust-lang/cargo.svg?branch=master)](https://travis-ci.org/rust-lang/cargo)
9+
[![Build Status](https://travis-ci.com/rust-lang/cargo.svg?branch=master)](https://travis-ci.com/rust-lang/cargo)
1010
[![Build Status](https://ci.appveyor.com/api/projects/status/github/rust-lang/cargo?branch=master&svg=true)](https://ci.appveyor.com/project/rust-lang-libs/cargo)
1111

1212
Code documentation: https://docs.rs/cargo/

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ environment:
99
install:
1010
- if NOT defined APPVEYOR_PULL_REQUEST_NUMBER if "%APPVEYOR_REPO_BRANCH%" == "master" appveyor exit
1111
- appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
12-
- rustup-init.exe -y --default-host x86_64-pc-windows-msvc --default-toolchain nightly
12+
- rustup-init.exe -y --default-host x86_64-pc-windows-msvc --default-toolchain nightly-2019-01-09
1313
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
1414
- if defined MINIMAL_VERSIONS rustup toolchain install 1.31.0
1515
- if defined OTHER_TARGET rustup target add %OTHER_TARGET%
@@ -25,5 +25,5 @@ test_script:
2525
# we don't have ci time to run the full `cargo test` with `minimal-versions` like
2626
# - if defined MINIMAL_VERSIONS cargo +nightly generate-lockfile -Z minimal-versions && cargo +stable test
2727
# so we just run `cargo check --tests` like
28-
- if defined MINIMAL_VERSIONS cargo +nightly generate-lockfile -Z minimal-versions && cargo +1.31.0 check --tests --features=deny-warnings
28+
- if defined MINIMAL_VERSIONS cargo +nightly-2019-01-09 generate-lockfile -Z minimal-versions && cargo +1.31.0 check --tests --features=deny-warnings
2929
- if NOT defined MINIMAL_VERSIONS cargo test --features=deny-warnings

0 commit comments

Comments
 (0)