env:
  global:
    - secure: Mxu4VkrIdLzF4k2GpgY/vqTV7leV9pY8nHo+AkYriwp6HS6A5aZ1TSgXX3AeefrL4uKpzcMcJsZ9ie6lvo9dRRgKk2W5IM1hHtHLDvGApEKt9p1qN+x4VtVC50OIjJ0OCEQ+Lz84SiBwFkPEjOCZ2KJ/vwpbNiWCseHQK2Uso/w=
before_install:
  - 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 cargo rust-nightly
script:
  - rustc --version
  - make
after_script:
  - curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh

env:
  global:
    - secure: Mxu4VkrIdLzF4k2GpgY/vqTV7leV9pY8nHo+AkYriwp6HS6A5aZ1TSgXX3AeefrL4uKpzcMcJsZ9ie6lvo9dRRgKk2W5IM1hHtHLDvGApEKt9p1qN+x4VtVC50OIjJ0OCEQ+Lz84SiBwFkPEjOCZ2KJ/vwpbNiWCseHQK2Uso/w=
before_install:
  - 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 cargo rust-nightly
  - export LD_LIBRARY_PATH=/usr/lib/rust/rust-nightly/lib:${LD_LIBRARY_PATH}
script:
  - rustc --version
  - make
after_script:
  - curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh

Add rust to LD path
Add rust to LD path
