before_install:
  - yes | sudo add-apt-repository "deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.4 main"
  - yes | sudo add-apt-repository "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu precise main"
  - yes | sudo add-apt-repository ppa:hansjorg/rust
  - sudo apt-get update
install:
  - sudo apt-get install --force-yes libclang-3.4-dev rust-nightly
script:
  - rustc lib.rs -L /usr/lib/llvm-3.4/lib
  - rustc bindgen.rs -L /usr/lib/llvm-3.4/lib -L .

before_install:
  - yes | sudo add-apt-repository "deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.4 main"
  - yes | sudo add-apt-repository "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu precise main"
  - yes | sudo add-apt-repository ppa:hansjorg/rust
  - yes | sudo add-apt-repository ppa:cmrx64/cargo
  - sudo apt-get update
install:
  - sudo apt-get install --force-yes libclang-3.4-dev rust-nightly cargo
script:
  - cargo build

Set Travis CI to use Cargo
Set Travis CI to use Cargo
