travis: use cache & container infra
To speed-up builds & tests
language: rust
+cache: cargo
+
+sudo: false
+
rust:
- stable
- beta
@@ -10,8 +14,10 @@ os:
dist: trusty
-before_install:
- - sudo apt-get install -y libwayland-dev
+addons:
+ apt:
+ packages:
+ - libwayland-dev
branches:
only:
