Skip to content

Commit 0d56731

Browse files
Nemo157cramertj
authored andcommitted
Remove publishing of docs on tag
1 parent 95c47df commit 0d56731

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

.travis.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -183,34 +183,12 @@ matrix:
183183
script:
184184
- RUSTDOCFLAGS=-Dwarnings cargo doc --all --no-deps --all-features
185185

186-
- name: publish docs
187-
stage: release
188-
rust: nightly
189-
before_script:
190-
- echo "machine github.com login $GH_TOKEN password x-oauth-basic" >> ~/.netrc
191-
- chmod 0600 ~/.netrc
192-
- git clone https://github.com/rust-lang-nursery/futures-api-docs
193-
script:
194-
- cargo doc --all --no-deps --all-features
195-
- mv target/doc "futures-api-docs/$TRAVIS_TAG"
196-
- cd futures-api-docs
197-
- |
198-
sed -i'' -e '/<main id="doc-links">/a\
199-
\ <a href="https://rust-lang-nursery.github.io/futures-api-docs/'"$TRAVIS_TAG"'/futures/">\
200-
\ <span>'"$TRAVIS_TAG"'</span>\
201-
\ </a>\
202-
' index.html
203-
- git add "$TRAVIS_TAG" index.html
204-
- git commit -m "Add API docs for $TRAVIS_TAG"
205-
- git push origin master
206-
207186
script:
208187
- cargo test --all --all-features
209188
- cargo test --all --all-features --release
210189

211190
env:
212191
global:
213-
- secure: "iwVcMVIF7ZSY82fK5UyyUvVvJxMSYrbZawh1+4Oi8pvOdYq1gptcDoOC8jxWwCwrNF1b+/85n+jlEUngEqqSmV5PjAbWPjoc+u4Zn7CRi1AlxoUlvHPiQm4vM4Mkkd6GsqoIZttCeedU9m/w0nQ18uUtK8uD6vr2FVdcMnUnkYQAxuGOowGLrwidukzfBXMCu/JrwKMIbt61knAFiI/KJknu0h1mRrhpeF/sQ3tJFzRRcQeFJkbfwDzltMpPo1hq5D3HI4ONjYi/qO2pwUhDk4umfp9cLW9MS8rQvptxJTQmWemHi+f2/U4ld6a0URL6kEuMkt/EbH0A74eFtlicfRs44dX9MlWoqbLypnC3ymqmHcpwcwNA3HmZyg800MTuU+BPK41HIPdO9tPpxjHEiqvNDknH7qs+YBnis0eH7DHJgEjXq651PjW7pm+rnHPwsj+OzKE1YBNxBQZZDkS3VnZJz+O4tVsOzc3IOz0e+lf7VVuI17C9haj117nKp3umC4MVBA0S8RfreFgqpyDeY2zwcqOr0YOlEGGRl0vyWP8Qcxx12kQ7+doLolt6Kxda4uO0hKRmIF6+qki1T+L7v8BOGOtCncz4f7IX48eQ7+Wu0OtglRn45qAa3CxjUuW6xX3KSNH66PCXV0Jtp8Ga2SSevX2wtbbFu9f+9R+PQY4="
214192
- RUSTFLAGS=-Dwarnings
215193

216194
notifications:

0 commit comments

Comments
 (0)