forked from tokio-rs/mio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (33 loc) · 885 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
sudo: false
rust:
- nightly
- 1.3.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: AKIAIGFX36YKEFRZJAXA
secret_access_key:
secure: blFcl9EMlWIiI+x8LZFWpyIxRZRScKWaftSXluFB0HLgbA1oYYX4lo8GgVYGQZ4kP3iIuL+WAlGvf3iCrAULGy0UOxLgvwOxX8XsgfCZpzF/Bw1G6od+IkPzbpNIgMtkceDhzZEmO+yatbAYCdMF0qq485QJ502inB7aeu1G94w=
bucket: rustdoc
endpoint: "rustdoc.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.1.0" && $TRAVIS_OS_NAME == "linux"
repo: carllerche/mio
branch:
- master
- v0.5.x
- v0.4.x
- v0.3.x