before_install:
  - yes | sudo add-apt-repository ppa:hansjorg/rust
  - sudo apt-get update
install:
  - sudo apt-get install rust-nightly
script:
  - "rust --test src/libknob/lib.rs && src/libknob/knob"

before_install:
  - yes | sudo add-apt-repository ppa:hansjorg/rust
  - sudo apt-get update
install:
  - sudo apt-get install rust-nightly
script:
  - "rustc --test src/libknob/lib.rs && src/libknob/knob"

Use rustc instead of rust
Use rustc instead of rust
