image: archlinux
sources:
- https://github.com/alacritty/vte
tasks:
- rustup: |
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable --profile minimal -c clippy
- stable: |
cd vte
$HOME/.cargo/bin/cargo +stable test
- clippy: |
cd vte
$HOME/.cargo/bin/cargo +stable clippy
- rustfmt: |
$HOME/.cargo/bin/rustup toolchain install nightly -c rustfmt
cd vte
$HOME/.cargo/bin/cargo +nightly fmt -- --check
- 1-36-0: |
$HOME/.cargo/bin/rustup toolchain install --profile minimal 1.36.0
cd vte
rm Cargo.lock
$HOME/.cargo/bin/cargo +1.36.0 test