Skip to content

Commit f0caed0

Browse files
committed
Use the new Rust support in Travis-CI
1 parent 4b947c4 commit f0caed0

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.travis.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
1-
install:
2-
- curl -O http://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz
3-
- tar xf rust-nightly-x86_64-unknown-linux-gnu.tar.gz
4-
- sudo ./rust-nightly-x86_64-unknown-linux-gnu/install.sh
5-
6-
- curl -O http://static.rust-lang.org/cargo-dist/cargo-nightly-linux.tar.gz
7-
- tar xf cargo-nightly-linux.tar.gz
8-
- sudo ./cargo-nightly/install.sh
1+
language: rust
92

103
script:
11-
- cargo build
12-
- cargo test
13-
- cargo doc
4+
- cargo build --verbose
5+
- cargo test --verbose
6+
- cargo doc --verbose
147

158
after_success: |
169
[ $TRAVIS_BRANCH = master ] &&

0 commit comments

Comments
 (0)