env:
  global:
    - secure: Qwx4M+ZMrMiQFfAVypHsAZotw68TRcz0vVIazyhX1Em6AfHO0Rta6sUJwmhnbGRRNhOQpOMttSbDpDJLOLSurjstO6gFFfFz/ivAHs0vBnTOjSKsQmIUoiBLOE/PR2s/fOStH6rKYJVlKaF6USIAKNZMj3a3+8lVby3pYQ02dAY=
before_install:
  - yes | sudo add-apt-repository ppa:hansjorg/rust
  - sudo apt-get update
install:
  - sudo apt-get install rust-nightly
script:
  - make && make doc
after_script:
  - curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh

env:
  global:
    - secure: Qwx4M+ZMrMiQFfAVypHsAZotw68TRcz0vVIazyhX1Em6AfHO0Rta6sUJwmhnbGRRNhOQpOMttSbDpDJLOLSurjstO6gFFfFz/ivAHs0vBnTOjSKsQmIUoiBLOE/PR2s/fOStH6rKYJVlKaF6USIAKNZMj3a3+8lVby3pYQ02dAY=
before_install:
  - yes | sudo add-apt-repository ppa:hansjorg/rust
  - sudo apt-get update
install:
  - sudo apt-get install rust-nightly
script:
  - make
after_script:
  - mv build/doc doc
  - curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh

Put docs in the right place for rust-ci
Put docs in the right place for rust-ci
