env:
  global:
    - secure: krUYslQOc4ez/M/yoffWCAZr+r85dc+iKVzprotT1/DHDN+yOwBt+hDMbeP1Lff8kmDc5SNZJTNbMuOOIreC7hFhmvv328sM1NdOZW+KTdZnj00gozP1/YLWuHw4mQ6246hxCOzBXdDrnvj9KA++u2jb55CBzFYM+rXgJlKNnfE=
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: krUYslQOc4ez/M/yoffWCAZr+r85dc+iKVzprotT1/DHDN+yOwBt+hDMbeP1Lff8kmDc5SNZJTNbMuOOIreC7hFhmvv328sM1NdOZW+KTdZnj00gozP1/YLWuHw4mQ6246hxCOzBXdDrnvj9KA++u2jb55CBzFYM+rXgJlKNnfE=
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
