Skip to content

Commit c49d31f

Browse files
serayuzgursunjay
authored andcommitted
Rust version update (#4)
* Better usage of the rust version * trigger travis * Travis recomended configuration added.
1 parent 6c53293 commit c49d31f

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

.travis.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
language: rust
2+
23
rust:
3-
- 1.9.0
4+
- stable
5+
- beta
6+
- nightly
7+
8+
matrix:
9+
allow_failures:
10+
- rust: nightly
411

512
before_install:
613
- sudo apt-get update

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,15 @@ of Rust you desire.
6161

6262
```yml
6363
language: rust
64+
6465
rust:
65-
- 1.9.0
66+
- stable
67+
- beta
68+
- nightly
69+
70+
matrix:
71+
allow_failures:
72+
- rust: nightly
6673

6774
before_install:
6875
- sudo apt-get update
@@ -89,7 +96,6 @@ after_success: |
8996
cd ../.. &&
9097
rm -rf kcov-master &&
9198
for file in target/debug/<PROJECT-NAME>-*[^\.d]; do mkdir -p "target/cov/$(basename $file)"; kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "$file"; done &&
92-
9399
bash <(curl -s https://codecov.io/bash) &&
94100
echo "Uploaded code coverage"
95101
```
@@ -135,4 +141,3 @@ learn more about the script.
135141
[6]: https://simonkagstrom.github.io/kcov/
136142
[7]: http://stackoverflow.com/questions/35547710/does-rustdoc-generate-runnable-binaries
137143
[8]: https://github.com/codecov/example-rust/issues
138-

0 commit comments

Comments
 (0)