Skip to content

Commit 1d13c1f

Browse files
authored
Merge pull request #2941 from rust-lang-nursery/prs
Run travis on rustc-master instead of nightly
2 parents 6141339 + 273e11f commit 1d13c1f

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ matrix:
5050
- env: INTEGRATION=hyperium/hyper
5151

5252
script:
53+
- |
54+
if [ -n "$GITHUB_TOKEN" ]; then
55+
rm rust-toolchain
56+
cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed"
57+
travis_retry rustup-toolchain-install-master -f -n master --github-token $GITHUB_TOKEN
58+
rustup default master
59+
export LD_LIBRARY_PATH=$(rustc --print sysroot)/lib
60+
fi
5361
- |
5462
if [ -z ${INTEGRATION} ]; then
5563
./ci/base-tests.sh

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Be sure that Clippy was compiled with the same version of rustc that cargo invok
8989

9090
## Configuration
9191

92-
Some lints can be configured in a TOML file named with `clippy.toml` or `.clippy.toml`. It contains basic `variable = value` mapping eg.
92+
Some lints can be configured in a TOML file named `clippy.toml` or `.clippy.toml`. It contains a basic `variable = value` mapping eg.
9393

9494
```toml
9595
blacklisted-names = ["toto", "tata", "titi"]

appveyor.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@ environment:
33
PROJECT_NAME: rust-clippy
44
matrix:
55
#- TARGET: i686-pc-windows-gnu
6-
# MSYS2_BITS: 32
76
#- TARGET: i686-pc-windows-msvc
8-
# MSYS2_BITS: 32
97
#- TARGET: x86_64-pc-windows-gnu
10-
# MSYS2_BITS: 64
118
- TARGET: x86_64-pc-windows-msvc
12-
MSYS2_BITS: 64
139

1410
install:
15-
- set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
1611
- curl -sSf -o rustup-init.exe https://win.rustup.rs/
1712
- rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly
18-
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin;C:\Users\appveyor\.rustup\toolchains\nightly-%TARGET%\bin
19-
- if defined MSYS2_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS2_BITS%\bin
13+
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
14+
# https://support.microsoft.com/en-us/help/2524009/error-running-command-shell-scripts-that-include-parentheses
15+
- if defined GITHUB_TOKEN del rust-toolchain
16+
- if defined GITHUB_TOKEN (cargo install rustup-toolchain-install-master || echo "rustup-toolchain-install-master already installed")
17+
- if defined GITHUB_TOKEN rustup-toolchain-install-master -f -n master --github-token %GITHUB_TOKEN%
18+
- if defined GITHUB_TOKEN rustup default master
19+
- if defined GITHUB_TOKEN set PATH=%PATH%;C:\Users\appveyor\.rustup\toolchains\master\bin
2020
- rustc -V
2121
- cargo -V
2222

@@ -26,9 +26,6 @@ test_script:
2626
- set RUST_BACKTRACE=1
2727
- cargo build --features debugging
2828
- cargo test --features debugging
29-
#- copy target\debug\cargo-clippy.exe C:\Users\appveyor\.cargo\bin\
30-
#- cargo clippy -- -D clippy
31-
#- cd clippy_lints && cargo clippy -- -D clippy && cd ..
3229

3330
notifications:
3431
- provider: Email

util/dogfood.sh

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)