forked from tokio-rs/mio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (33 loc) · 947 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
language: rust
rust:
- nightly
- stable
# The following Rust version represents the oldest supported version of Mio
- 1.6.0
os:
- linux
- osx
script:
- cargo test
- cargo doc --no-deps
# Deploy documentation to S3 for specific branches. At some
# point, it would be nice to also support building docs for
# a specific tag
deploy:
provider: s3
access_key_id: AKIAIXM3KLI7WZS4ZA3Q
secret_access_key:
secure: g0E6fBvgTV+5RYecJqEa6qIrQfE6SnwQX9xA1mx2ISkKuIne8qgEfBFSLNeVywmOgl8Kv4gDgrt9OSm5vT8Kb4L2eAb5L7AUsnfpyLZMEPc6KevZEF1awS54vVY3E3ey3FjdZ/4bkMbiwiJTFcToy/MlHauD7oUDRGqz3SSZIt0=
bucket: rust-doc
endpoint: rust-doc.s3-website-us-east-1.amazonaws.com
skip_cleanup: true
local-dir: target/doc
upload-dir: mio/${TRAVIS_BRANCH}
acl: public_read
on:
condition: $TRAVIS_RUST_VERSION == "1.6.0" && $TRAVIS_OS_NAME == "linux"
repo: carllerche/mio
branch:
- master
- v0.5.x
- v0.4.x