Skip to content

Commit 7790c40

Browse files
committed
update travis
1 parent 2685ebd commit 7790c40

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.travis.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,9 @@ rust:
99

1010
before_script:
1111
- export PATH=$HOME/.cargo/bin:$HOME/.local/bin:$PATH
12-
- pip install -v 'travis-cargo<0.2' --user
13-
- travis-cargo --only nightly install rustfmt-nightly -- --force
12+
- rustup component add rustfmt-preview
1413

1514
script:
16-
- travis-cargo --only nighlty fmt -- --write-mode=diff
15+
- cargo +nightly fmt -- --write-mode=diff
1716
- cargo build
1817
- cargo test
19-
- travis-cargo --only stable doc
20-
after_success:
21-
- travis-cargo --only stable doc-upload
22-
23-
env:
24-
global:
25-
- TRAVIS_CARGO_NIGHTLY_FEATURE=""

0 commit comments

Comments
 (0)