Browse Source

Use the new Rust support in Travis-CI

Simon Sapin 12 years ago
parent
commit
dfd4376edb
1 changed files with 2 additions and 7 deletions
  1. 2 7
      .travis.yml

+ 2 - 7
.travis.yml

@@ -1,14 +1,9 @@
-install:
-  - curl -s http://www.rust-lang.org/rustup.sh | sudo sh
-
-script:
-  - cargo build
-  - cargo test
-  - cargo doc
+language: rust
 
 after_success: |
   [ $TRAVIS_BRANCH = master ] &&
   [ $TRAVIS_PULL_REQUEST = false ] &&
+  cargo doc &&
   echo '<meta http-equiv=refresh content=0;url=url/index.html>' > target/doc/index.html &&
   cp github.png target/doc/ &&
   sudo pip install ghp-import &&