Browse Source

Update travis config

wasi
Alex Crichton 6 years ago
parent
commit
f0835c6a1d
  1. 19
      .travis.yml

19
.travis.yml

@ -19,14 +19,16 @@ matrix:
- rust: nightly - rust: nightly
env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1 env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
- rust: nightly - name: "master doc to gh-pages"
before_script: rust: nightly
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
install:
script: script:
- cargo doc --no-deps --all-features - cargo doc --no-deps --all-features
after_success: deploy:
- travis-cargo --only nightly doc-upload provider: script
script: curl -LsSf https://git.io/fhJ8n | rustc - && (cd target/doc && ../../rust_out)
skip_cleanup: true
on:
branch: master
install: install:
- if [ -z "$NO_ADD" ]; then rustup target add $TARGET; fi - if [ -z "$NO_ADD" ]; then rustup target add $TARGET; fi
@ -47,13 +49,8 @@ script:
- cargo test --manifest-path cc-test/Cargo.toml --target $TARGET $NO_RUN - cargo test --manifest-path cc-test/Cargo.toml --target $TARGET $NO_RUN
- cargo test --manifest-path cc-test/Cargo.toml --target $TARGET --features parallel $NO_RUN - cargo test --manifest-path cc-test/Cargo.toml --target $TARGET --features parallel $NO_RUN
- cargo test --manifest-path cc-test/Cargo.toml --target $TARGET --release $NO_RUN - cargo test --manifest-path cc-test/Cargo.toml --target $TARGET --release $NO_RUN
- cargo doc
- cargo clean && cargo build - cargo clean && cargo build
env:
global:
secure: "CBtqrudgE0PS8x3kTr44jKbC2D4nfnmdYVecooNm0qnER4B4TSvZpZSQoCgKK6k4BYQuOSyFTOwYx6M79w39ZMOgyCP9ytB+tyMWL0/+ZuUQL04yVg4M5vd3oJMkOaXbvG56ncgPyFrseY+FPDg+mXAzvJk/nily37YXjkQj2D0="
notifications: notifications:
email: email:
on_success: never on_success: never

Loading…
Cancel
Save