Skip to content

Commit 4fa0d76

Browse files
committed
Fix CI/Tests and simplify documentation
Signed-off-by: Paul Osborne <[email protected]>
1 parent f46cb40 commit 4fa0d76

File tree

2 files changed

+4
-17
lines changed

2 files changed

+4
-17
lines changed

.travis.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,6 @@ os:
55
- linux
66
- osx
77

8-
env:
9-
global:
10-
- secure: gZdvTl4i1QfHQaCUPcVpnLtlrsE4WldSm99AD9C9jiMgjlzhhI4kQmIhssNFhA1BWDW6qDazrKnw4ZT1GA/rlmGSpLxs2lfBNTjPF0CJMVSTEQ1OaFcDGajziTTCSMh7jDml1/CFHuGSc+rS4bNv5wu0bj+pz3ZSRSuB7Vgoa0aRD8JQKc+phnIoXMCCfIh9vxlXWvO9mDMoR84/B35/gN/vWIi3+uuHgvvdKMK8qBbJ0ne25kOIA5CpXzJmOBFHCGblVQM4+AiTWvWtoXJjMcJXn9HZ2g3HWhrnixG07Ee1RrjUPo25tsxrBowHSGq9Bbo+jzmOmx03CRnCBHyXk6e12MXrfVFWRdmFaf7Sl/RBlz8Y2BRgktp8ihB6JQmjNuRptE4RdnWn6CU9liSQ5nzzGEl2ZtBrzN9GR3qyhq5W9e09v93MZfBr0svp/rtBoqDANfkpxvmWqtgO3fjN1fdf092sEcQfq3d7e6NaLSWKkI6V9wJnJ9UulPDAaqGVm8RrA9b0vJR6ouCf5ChZgYirz6LW5uPpMkf+cjESU9JxnX9xVB8tfPSoNrPKolRC/WRZ8gPbRmx0vF4wrDk8z9Fks5nHGwDsPdYe60Qe8m6ZclncCkpUzy2yAZWe/kiDaseOwNbSqEUZW80hLyHpuGi1IFpGBQfc8mYMPvqOHa8=
11-
128
script:
13-
- cargo build --verbose
14-
- cargo test --verbose
15-
- cargo doc
16-
17-
after_success: '[ $TRAVIS_OS_NAME == linux ] && [ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ] &&
18-
echo "<meta http-equiv=refresh content=0;url=i2cdev/index.html>" > target/doc/index.html
19-
&& sudo pip install ghp-import && ghp-import -n target/doc && git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
20-
gh-pages'
21-
22-
notifications:
23-
webhooks: http://rust-embedded-bot.herokuapp.com/travis
9+
- cargo build --verbose
10+
- cargo test --verbose

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Rust I2cdev
55
[![Version](https://img.shields.io/crates/v/i2cdev.svg)](https://crates.io/crates/i2cdev)
66
[![License](https://img.shields.io/crates/l/i2cdev.svg)](https://github.com/rust-embedded/rust-i2cdev/blob/master/README.md#license)
77

8-
[Documentation](https://rust-embedded.github.io/rust-i2cdev)
8+
[Documentation](https://docs.rs/i2cdev)
99

1010
The Rust `i2cdev` crate seeks to provide full access to the Linux i2cdev
1111
driver interface in Rust without the need to wrap any C code or directly make
@@ -26,7 +26,7 @@ functions (read/write) which are done via the Read/Write traits (if
2626
you actually want to use the Wii Nunchuck you should use
2727
[`i2cdev::sensors::nunchuck::Nunchuck`][nunchuck]:
2828

29-
```rust,no_run
29+
```rust,no_run,skeptic-template
3030
extern crate i2cdev;
3131
3232
use std::thread;

0 commit comments

Comments
 (0)