File tree Expand file tree Collapse file tree 3 files changed +35
-24
lines changed
Expand file tree Collapse file tree 3 files changed +35
-24
lines changed Original file line number Diff line number Diff line change 1+ image : freebsd/latest
2+ packages :
3+ - lang/python3
4+ - x11/libxcb
5+ sources :
6+ - https://github.com/alacritty/copypasta
7+ tasks :
8+ - rustup : |
9+ curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable --profile minimal
10+ - stable : |
11+ cd copypasta
12+ $HOME/.cargo/bin/cargo +stable build
13+ - 1-41-0 : |
14+ $HOME/.cargo/bin/rustup toolchain install --profile minimal 1.41.0
15+ cd copypasta
16+ rm Cargo.lock
17+ $HOME/.cargo/bin/cargo +1.41.0 build
Original file line number Diff line number Diff line change 1+ image : archlinux
2+ sources :
3+ - https://github.com/alacritty/copypasta
4+ tasks :
5+ - rustup : |
6+ curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal --default-toolchain none
7+ $HOME/.cargo/bin/rustup toolchain install nightly -c rustfmt
8+ - rustfmt : |
9+ cd copypasta
10+ $HOME/.cargo/bin/cargo fmt -- --check
Original file line number Diff line number Diff line change 1111os :
1212 - linux
1313 - osx
14+ - windows
1415
1516rust :
1617 - 1.41.0
1718 - stable
18- - nightly
1919
2020matrix :
2121 fast_finish : true
2222 include :
23- - if : tag IS present
24- os : linux
25- rust : stable
26- env : ARCH=i386
2723 - name : " Clippy Linux"
2824 os : linux
2925 env : CLIPPY=true
@@ -35,23 +31,11 @@ matrix:
3531 - name : " Clippy Windows"
3632 os : windows
3733 env : CLIPPY=true
38- rust : stable-x86_64-pc-windows-msvc
39- - name : " Rustfmt"
40- os : linux
41- env : RUSTFMT=true
42- rust : nightly
43- - name : " Windows 1.41.0"
44- os : windows
45- rust : 1.41.0-x86_64-pc-windows-msvc
46- - name : " Windows Stable"
47- os : windows
48- rust : stable-x86_64-pc-windows-msvc
49- - name : " Windows Nightly"
50- os : windows
51- rust : nightly-x86_64-pc-windows-msvc
52- allow_failures :
53- - rust : nightly
54- - rust : nightly-x86_64-pc-windows-msvc
34+ rust : stable
35+
36+ install :
37+ - if [ "$CLIPPY" == "true" ]; then rustup component add clippy; fi
5538
56- install : ci/install.sh
57- script : ci/script.sh
39+ script :
40+ - if [ "$CLIPPY" == "true" ]; then cargo clippy; fi
41+ - if [ "$CLIPPY" != "true" ]; then cargo test; fi
You can’t perform that action at this time.
0 commit comments