Skip to content

Commit 6789a46

Browse files
committed
travis config cleanup
1 parent 82c26fa commit 6789a46

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.travis.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
language: rust
22
cache: cargo
3+
rust:
4+
- nightly
35

46
os:
5-
- osx
67
- linux
8+
- osx
79

8-
rust:
9-
- nightly
1010
before_script:
1111
# mac os weirdness (https://github.com/travis-ci/travis-ci/issues/6307)
1212
- curl -sSL https://rvm.io/mpapis.asc | gpg --import -
1313
- rvm get stable
1414
# in a cronjob, use latest (not pinned) nightly
1515
- if [ "$TRAVIS_EVENT_TYPE" = cron ]; then rustup override set nightly; fi
16-
# actual travis code
16+
# prepare
1717
- export PATH=$HOME/.local/bin:$PATH
1818
- rustup target add i686-unknown-linux-gnu
1919
- rustup target add i686-pc-windows-gnu
2020
- rustup target add i686-pc-windows-msvc
2121
- rustup component add rust-src
2222
- cargo install xargo || echo "skipping xargo install"
23-
- export RUST_SYSROOT=$HOME/rust
23+
2424
script:
2525
- set -e
2626
- |
@@ -56,6 +56,7 @@ script:
5656
- |
5757
# and run all tests with full mir
5858
cargo test --release --all-features
59+
5960
notifications:
6061
email:
6162
on_success: never

0 commit comments

Comments
 (0)