Skip to content

Commit 5bfdfa2

Browse files
committed
Update travis config
1 parent ad309ad commit 5bfdfa2

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

.travis.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,18 @@ matrix:
1414
- rust: beta
1515
- rust: nightly
1616

17-
- rust: nightly
18-
before_script:
19-
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
17+
- name: "master doc to gh-pages"
18+
rust: nightly
2019
script:
2120
- cargo doc --no-deps
2221
- cargo doc --manifest-path=git2-curl/Cargo.toml --no-deps
2322
- cargo doc --manifest-path=libgit2-sys/Cargo.toml --no-deps
24-
after_success:
25-
- travis-cargo --only nightly doc-upload
23+
deploy:
24+
provider: script
25+
script: curl -LsSf https://git.io/fhJ8n | rustc - && (cd target/doc && ../../rust_out)
26+
skip_cleanup: true
27+
on:
28+
branch: master
2629

2730
script:
2831
- git submodule update --init
@@ -34,10 +37,6 @@ script:
3437
cargo test --manifest-path git2-curl/Cargo.toml;
3538
fi
3639

37-
env:
38-
global:
39-
secure: "SVk5cv4VnBQAoaBXt9pIHk+FQ7Z58zT5EaPo7Ac81LltKztwHovhN/R1otKzgrAJqFsZ/nKR4cGyQGbYtfVJcsqweQVM75LI6Oh6lYyEdfX211ZI3SWQ50JO93CmwLtanC5UpECdXvJLCgXrHGJXuL1oi7hySGy47/yQlKH6eaM="
40-
4140
notifications:
4241
email:
4342
on_success: never

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# git2-rs
22

3-
[![Build Status](https://travis-ci.org/alexcrichton/git2-rs.svg?branch=master)](https://travis-ci.org/alexcrichton/git2-rs)
3+
[![Build Status](https://travis-ci.com/alexcrichton/git2-rs.svg?branch=master)](https://travis-ci.com/alexcrichton/git2-rs)
44
[![Build Status](https://ci.appveyor.com/api/projects/status/6vem3xgno2kuxnfm?svg=true)](https://ci.appveyor.com/project/alexcrichton/git2-rs)
55

66
[Documentation](https://docs.rs/git2)

0 commit comments

Comments
 (0)