Skip to content

Commit 59a1045

Browse files
committed
tweak CI
don't re-install rustup faster checks on stable / beta
1 parent 9d190f0 commit 59a1045

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ matrix:
2828

2929
install:
3030
- sh ci/install.sh
31-
- source ~/.cargo/env || true
3231

3332
script:
3433
- bash ci/script.sh

ci/install.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
set -ex
22

33
main() {
4-
curl https://sh.rustup.rs -sSf | \
5-
sh -s -- -y --default-toolchain $TRAVIS_RUST_VERSION
6-
74
local target=
85
if [ $TRAVIS_OS_NAME = linux ]; then
96
target=x86_64-unknown-linux-gnu

ci/script.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ test_svd() {
99
}
1010

1111
main() {
12-
cross build --target $TARGET
13-
cross build --target $TARGET --release
12+
cross check --target $TARGET
1413

1514
if [ ! -z $DISABLE_TESTS ]; then
1615
return
1716
fi
1817

18+
cross build --target $TARGET --release
19+
1920
case $TRAVIS_OS_NAME in
2021
linux)
2122
td=$(mktemp -d)

0 commit comments

Comments
 (0)