mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-18 13:55:23 -05:00
15e0deae2b
Initial support for Windows is implemented using the winpty translation layer. Clipboard support for Windows is provided through the `clipboard` crate, and font rasterization is provided by RustType. The tty.rs file has been split into OS-specific files to separate standard pty handling from the winpty implementation. Several binary components are fetched via build script on windows including libclang and winpty. These could be integrated more directly in the future either by building those dependencies as part of the Alacritty build process or by leveraging git lfs to store the artifacts. Fixes #28.
41 lines
700 B
YAML
41 lines
700 B
YAML
language: rust
|
|
sudo: false
|
|
|
|
git:
|
|
depth: 1
|
|
|
|
cache: cargo
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
- windows
|
|
|
|
rust:
|
|
- stable
|
|
- nightly
|
|
|
|
env:
|
|
- CLIPPY="true"
|
|
- CLIPPY=""
|
|
|
|
install:
|
|
- if [ -n "$CLIPPY" ]; then rustup component add clippy-preview; fi
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
exclude:
|
|
- rust: stable
|
|
env: CLIPPY="true"
|
|
- rust: nightly
|
|
env: CLIPPY=""
|
|
allow_failures:
|
|
- rust: nightly
|
|
- os: windows
|
|
|
|
script:
|
|
- if [ "$TRAVIS_OS_NAME" == "windows" ]; then choco install llvm --norestart --nosilent; fi
|
|
|
|
- if [ -n "$CLIPPY" ]; then cargo clippy --all-features --all-targets; fi
|
|
- if [ -z "$CLIPPY" ]; then cargo test; fi
|
|
- if [ -z "$CLIPPY" ]; then cargo test -p font; fi
|