2018-02-07 08:44:26 +03:00
|
|
|
language: rust
|
2018-02-21 00:41:05 +03:00
|
|
|
sudo: required
|
2018-02-21 00:06:50 +03:00
|
|
|
|
2018-02-21 00:31:35 +03:00
|
|
|
cache: cargo
|
|
|
|
|
2018-02-07 08:44:26 +03:00
|
|
|
rust:
|
2018-08-04 20:00:51 +03:00
|
|
|
- stable
|
|
|
|
- beta
|
2018-02-21 00:29:17 +03:00
|
|
|
|
2019-02-19 19:50:48 +03:00
|
|
|
os:
|
|
|
|
- osx
|
|
|
|
- linux
|
2019-03-23 22:09:39 +03:00
|
|
|
- windows
|
2019-02-19 19:50:48 +03:00
|
|
|
|
2019-02-23 13:34:42 +03:00
|
|
|
dist: xenial
|
|
|
|
|
2018-02-07 08:44:26 +03:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
2018-02-20 23:48:15 +03:00
|
|
|
- rust: beta
|
2018-02-21 09:13:07 +03:00
|
|
|
|
|
|
|
before_script:
|
|
|
|
- rustup component add rustfmt-preview
|
2018-02-23 08:48:49 +03:00
|
|
|
|
2018-02-07 08:44:26 +03:00
|
|
|
script:
|
2018-08-04 20:58:31 +03:00
|
|
|
- "if [[ \"$TRAVIS_RUST_VERSION\" == \"stable\" ]] ; then cargo fmt --all -- --check ; else true ; fi"
|
2019-03-23 21:14:53 +03:00
|
|
|
- cargo build --verbose
|
|
|
|
- cargo test --verbose -p term -p termwiz -p wezterm -p base91 -p varbincode
|
2018-02-21 00:06:50 +03:00
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2018-02-21 00:29:17 +03:00
|
|
|
- binutils-dev
|
|
|
|
- cmake
|
|
|
|
- gcc
|
2019-02-18 05:48:18 +03:00
|
|
|
- xorg-dev
|
2018-02-21 00:29:17 +03:00
|
|
|
- libcurl4-openssl-dev
|
|
|
|
- libdw-dev
|
|
|
|
- libegl1-mesa-dev
|
|
|
|
- libelf-dev
|
2018-02-21 00:06:50 +03:00
|
|
|
- libfontconfig1-dev
|
2018-02-21 00:29:17 +03:00
|
|
|
- libiberty-dev
|
|
|
|
- libxcb-ewmh-dev
|
|
|
|
- libxcb-icccm4-dev
|
|
|
|
- libxcb-keysyms1-dev
|
2019-02-23 09:48:20 +03:00
|
|
|
- libxcb-xkb-dev
|
|
|
|
- libxkbcommon-dev
|
|
|
|
- libxkbcommon-x11-dev
|
2018-02-21 04:12:17 +03:00
|
|
|
- ragel
|