Commit Graph

17 Commits

Author SHA1 Message Date
Matthias Krüger ddb9a55817 Fix clippy lints and run font tests on travis
This fixes some existing clippy issues and runs the `font` tests through travis.

Testing of copypasta crate was omitted due to problens when running on headless travis-ci environment (x11 clipboard would fail).
2018-07-25 19:46:45 +00:00
Christian Duerr ea512cb0f3
Switch to rustup clippy component 2018-07-22 00:44:14 +00:00
Matthias Krüger 985ba306c7 Remove unnecessary clippy lint annotations
We moved to "cargo clippy" in 5ba34d4f97 and
removing the clippy lint annotations in `src/lib.rs` does not cause any additional warnings.

This also changes `cargo clippy` to use the flags required for checking integration tests.
2018-07-01 20:20:29 +00:00
Christian Duerr 5ba34d4f97
Move to cargo clippy
Using clippy as a library has been deprecated, instead the `cargo
clippy` command should be used instead. To comply with this change
clippy has been removed from the `Cargo.toml` and is now installed with
cargo when building in CI.

This has also lead to a few new clippy issues to show up, this includes
everything in the `font` subdirectory. This has been fixed and `font`
should now be covered by clippy CI too.

This also upgrades all dependencies, as a result this fixes #1341 and
this fixes #1344.
2018-06-17 09:19:30 +00:00
Christian Duerr 2920cbe710
Add clippy check to travis
This commit adds clippy as a required step of the build process. To make
this possible, all existing clippy issues have been resolved.
2018-01-06 01:42:55 +00:00
Joe Wilm 8e7dd009a4 Update to latest Glutin/winit (#671)
* Update to latest Glutin/winit

This *finally* gets us off the fork of Glutin we've been on for so long
and will unblock a number of other items. Functionality should be the
same as before.

The update forced our hand on a compiler update. It's no longer
feasible to pin on an old version. From now on, we require latest
stable.
2017-07-20 10:50:50 -07:00
Aaron Hill 3c8514ba10 Make Travis test alacritty on nightly Rust, but allow failures
This allows us to notice and report any regressions that have occured on
nightly, without requiring tests to pass on nightly for the entire build
to succeed.

The `fast_finish` flag will cause Travis to mark the build as successful
if the only builds still running are allowed to fail (e.g. `nightly`).
This allows us to manually inspect builds (or implement some form of
notifications) to see if any nightly regressions have occured, without
slowing down the overall build time.
2017-06-14 11:33:44 -07:00
Niklas Claesson 84fc7c0bf9 CI with the oldest known working version of rust 2017-06-04 09:46:42 -07:00
Joe Wilm f2f750f9f3 Alacritty now compiles on stable Rust 🎉 2017-02-03 08:11:19 -08:00
Joe Wilm 8cab0aa623 Use latest nightly on travis
Pinning should no longer be necessary.
2017-01-18 22:28:46 -08:00
Joe Wilm 79e02b0b2f Update nightly pin on travis 2016-12-11 20:26:33 -08:00
Joe Wilm 0dfba30181 Add a number of simple ref-tests
Also adds a feature `err-println` for enabling `err_println!` printing.
2016-11-19 21:34:22 -08:00
Joe Wilm 8b4b1f8df1 Pin nightly compiler on travis
This will prevent builds from being constantly broken... arbitrary
nightlies are not yet supported.
2016-08-14 20:13:20 -07:00
Joe Wilm 4ecc4a15f1
Cache cargo dependencies on travis
This should improve build times.
2016-06-14 07:55:00 -07:00
Joe Wilm 432922d624
Add macOS to CI matrix 2016-06-14 07:53:45 -07:00
Joe Wilm e301843686 Add test font for travis 2016-02-21 19:56:31 -08:00
Joe Wilm 2a7dc1deb8 Add function for listing font names on linux
This function isn't exactly useful, but it's working ffi with the
fontconfig library. Woo! Next step will be returning some objects with
more information (like font path so we can start rendering glyphs!).
2016-02-21 15:20:03 -08:00