This repository was archived by the owner on Aug 12, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +84
-0
lines changed Expand file tree Collapse file tree 4 files changed +84
-0
lines changed Original file line number Diff line number Diff line change 1+ environment :
2+ # When this was added there were revocation check failures when using the
3+ # libcurl backend as libcurl checks by default, but rustup doesn't provide the
4+ # switch to turn this off. Switch to Reqwest which looks to not check for
5+ # revocation by default like libcurl does.
6+ RUSTUP_USE_REQWEST : 1
7+ CARGO_HTTP_CHECK_REVOKE : false
8+ matrix :
9+ - TARGET : x86_64-pc-windows-gnu
10+ MSYS2_BITS : 64
11+ - TARGET : i686-pc-windows-gnu
12+ MSYS2_BITS : 32
13+ - TARGET : x86_64-pc-windows-msvc
14+ - TARGET : i686-pc-windows-msvc
15+ install :
16+ - appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
17+ - rustup-init.exe -y --default-host %TARGET%
18+ - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
19+ - if defined MSYS2_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS2_BITS%\bin
20+ - rustc -V
21+ - cargo -V
22+
23+ build : false
24+
25+ test_script :
26+ - cargo test -vv --all --target %TARGET%
27+ - cargo test -vv --all --target %TARGET% --release
Original file line number Diff line number Diff line change 1+ language : rust
2+ sudo : false
3+ rust : nightly
4+
5+ matrix :
6+ fast_finish : true
7+ include :
8+ - name : " Tools"
9+ install : true
10+ script : sh ci/tools.sh
11+ - name : " x86_64-unknown-linux-gnu"
12+ env : TARGET=x86_64-unknown-linux-gnu
13+ - name : " i686-unknown-linux-gnu"
14+ env : TARGET=i686-unknown-linux-gnu
15+ - name : " i686-apple-darwin"
16+ env : TARGET=i686-apple-darwin NO_DOCKER=1
17+ os : osx
18+ osx_image : xcode10
19+ - name : " x86_64-apple-darwin"
20+ env : TARGET=x86_64-apple-darwin NO_DOCKER=1
21+ os : osx
22+ osx_image : xcode10
23+ install : true
24+
25+ install : travis_retry rustup target add $TARGET
26+ script :
27+ - cargo generate-lockfile
28+ - sh ci/run.sh "${TARGET}"
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env sh
2+
3+ set -ex
4+
5+ : " ${TARGET?The TARGET environment variable must be set.} "
6+
7+ cargo test -vv --all --target=" ${TARGET} "
8+ cargo test -vv --all --target=" ${TARGET} " --release
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env sh
2+
3+ set -ex
4+
5+ # rustfmt
6+ if rustup component add rustfmt-preview ; then
7+ cargo-fmt --version
8+ cargo fmt --all -- --check
9+ fi
10+
11+ # clippy
12+ if rustup component add clippy-preview ; then
13+ cargo-clippy --version
14+ cargo clippy --all -- -D clippy::pedantic
15+ fi
16+
17+ # sh-check
18+ if command -v shellcheck ; then
19+ shellcheck --version
20+ shellcheck ci/* .sh
21+ fi
You can’t perform that action at this time.
0 commit comments