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-07 08:44:26 +03:00
|
|
|
- nightly
|
2018-02-21 00:29:17 +03:00
|
|
|
|
2019-02-19 19:50:48 +03:00
|
|
|
os:
|
|
|
|
- osx
|
|
|
|
- linux
|
2019-02-19 19:59:39 +03:00
|
|
|
# - windows
|
2019-02-19 19:50:48 +03:00
|
|
|
|
2018-02-07 08:44:26 +03:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
2018-02-20 23:48:15 +03:00
|
|
|
- rust: beta
|
2018-08-04 20:00:51 +03:00
|
|
|
- rust: nightly
|
2018-02-21 09:13:07 +03:00
|
|
|
|
|
|
|
before_script:
|
|
|
|
- rustup component add rustfmt-preview
|
2018-02-23 08:48:49 +03:00
|
|
|
- PREFIX=$TRAVIS_BUILD_DIR ./ci/build_harfbuzz.sh
|
|
|
|
|
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"
|
2018-02-07 08:44:26 +03:00
|
|
|
- cargo build --verbose --all
|
|
|
|
- cargo test --verbose --all
|
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
|
|
|
|
- libfreetype6-dev
|
2018-02-21 00:29:17 +03:00
|
|
|
- libiberty-dev
|
|
|
|
- libxcb-ewmh-dev
|
|
|
|
- libxcb-icccm4-dev
|
|
|
|
- libxcb-keysyms1-dev
|
2018-02-21 04:12:17 +03:00
|
|
|
- ragel
|
2018-02-21 00:06:50 +03:00
|
|
|
|
2018-02-23 08:48:49 +03:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- PKG_CONFIG_PATH=$TRAVIS_BUILD_DIR/lib/pkgconfig
|
2018-02-21 00:06:50 +03:00
|
|
|
|