aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2019-01-02 14:15:41 -0800
committerAlex Crichton <alex@alexcrichton.com>2019-01-02 14:15:41 -0800
commit600c6e58ec28c47c926b665f80f03f8e0335847a (patch)
tree5c119f8429059c3657bc84effaa7f043e5ccae34 /.travis.yml
parentc1a369f44762045e65989caa9491e153d1f358e6 (diff)
downloadmilf-rs-600c6e58ec28c47c926b665f80f03f8e0335847a.tar.gz
milf-rs-600c6e58ec28c47c926b665f80f03f8e0335847a.zip
Tweak travis config
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml37
1 files changed, 15 insertions, 22 deletions
diff --git a/.travis.yml b/.travis.yml
index 0715ef1..4bed4eb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,30 +1,23 @@
language: rust
-rust:
- - 1.15.0
- - stable
- - beta
- - nightly
-sudo: false
-before_script:
- - pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
+matrix:
+ include:
+ - rust: stable
+ - rust: beta
+ - rust: nightly
+ - name: "master doc to gh-pages"
+ rust: nightly
+ script:
+ - cargo doc --no-deps
+ deploy:
+ provider: script
+ script: curl -LsSf https://git.io/fhJ8n | rustc - && (cd target/doc && ../../rust_out)
+ skip_cleanup: true
+ on:
+ branch: master
script:
- cargo test
- cargo test --manifest-path test-suite/Cargo.toml
- rustdoc --test README.md -L target
- - test "$TRAVIS_RUST_VERSION" != "1.15.0" && cargo doc --no-deps || echo "skipping cargo doc"
-after_success:
- - travis-cargo --only nightly doc-upload
- - travis-cargo coveralls --no-sudo
-env:
- global:
- secure: "IDm3Oc3bmIL4/6zixovwkuTkbinqWnKdLfeuKTtHqT4ZbVy+rxTDQBgLGfVngymjciHWkJnvQ8/2nT3/KW4MPNY9Sqt3NfWvO7vj9cXypeNeJ4xFrVK49F7CMM4KTCeSMlDKR1C0TVYGgxFIViLtBw/imivl9fk6J489eKv36sA="
-
notifications:
email:
on_success: never
-addons:
- apt:
- packages:
- - libcurl4-openssl-dev
- - libelf-dev
- - libdw-dev