Repository: PistonDevelopers/glfw-rs (language: rust)

Issue:
Fix Travis CI
```
0.30s$ sudo apt-get install cmake libXxf86vm-dev libxinerama-dev libxcursor-dev

Reading package lists... Done

Building dependency tree       

Reading state information... Done

E: Unable to locate package libXxf86vm-dev

The command "sudo apt-get install cmake libXxf86vm-dev libxinerama-dev libxcursor-dev" failed and exited with 100 during .
```


Discussion / hints:

Fix patch:
diff --git a/.travis.yml b/.travis.yml
index 4d2b39f7..2861ab78 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,20 +14,16 @@
 # limitations under the License.
 
 language: rust
-env:
-  global:
-    - LD_LIBRARY_PATH: /usr/local/lib
-    - secure: d0ai0sK6NFiz+822DaAKAGcJXjC6dBFLGOjqjACcsoqDtRH85HR9IVUnwCsNVPvH05frEutD5Ebd9SzrjqPriTNnzM0iwZZBxHgiHV+SAYcL/D+qyeEAB/IYU5jZxjYgq/6fHA2VhXI56rGqBRwoXe1sLsEAaTfDmo9gVi6xhQo=  echo "yes" | sudo add-apt-repository ppa:kalakris/cmake
-before_install:
-  # install a newer cmake since at this time Travis only has version 2.8.7
-  - yes | sudo add-apt-repository ppa:kubuntu-ppa/backports
-  - sudo apt-get update -qq
-install: sudo apt-get install cmake libXxf86vm-dev libxinerama-dev libxcursor-dev
+addons:
+  apt:
+    sources:
+      - kubuntu-backports
+    packages:
+      - libxinerama-dev
+      - libxcursor-dev
+      - xorg-dev
 script:
   - cargo build --features "all"
   - cargo test --features "all"
   - cargo doc --features "all"
-after_script:
-  # the doc directory needs to be in the root for rust-ci
-  - mv target/doc doc
-  - curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh
+
diff --git a/README.md b/README.md
index 60b72e89..3e86a7c9 100644
--- a/README.md
+++ b/README.md
@@ -92,28 +92,6 @@ git = "https://github.com/bjz/glfw-rs.git"
 default-features = false
 ~~~
 
-### A note about Travis CI
-
-You may encounter the following error when attempting to build your project on Travis:
-
-~~~
-CMake Error at CMakeLists.txt:3 (cmake_minimum_required):
-  CMake 2.8.9 or higher is required.  You are running version 2.8.7
-~~~
-
-This is because Travis CI _still_ hasn't updated their CMake version almost a year since the issue
-was reported (See travis-ci/travis-ci#2030). Because of this, you will need to [add the following
-build commands](https://github.com/travis-ci/travis-ci/issues/2030#issuecomment-49210009) to your
-`.travis.yml`:
-
-~~~yml
-before_install:
-  # install a newer cmake since at this time Travis only has version 2.8.7
-  - yes | sudo add-apt-repository ppa:kalakris/cmake
-  - sudo apt-get update -qq
-install: sudo apt-get install cmake
-~~~
-
 ## Support
 
 Contact `bjz` on irc.mozilla.org [#rust](http://mibbit.com/?server=irc.mozilla.org&channel=%23rust)


Test patch: