File tree 3 files changed +4
-23
lines changed
3 files changed +4
-23
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,7 @@ after_script: set +e
20
20
after_success :
21
21
- bash ci/after_success.sh
22
22
23
- cache :
24
- cargo : true
25
- directories :
26
- - $HOME/.xargo
23
+ cache : cargo
27
24
28
25
before_cache :
29
26
# Travis can't cache files that are not readable by "others"
Original file line number Diff line number Diff line change @@ -2,22 +2,7 @@ set -euxo pipefail
2
2
3
3
main () {
4
4
if [ $TARGET = thumbv7m-none-eabi ]; then
5
- # This fetches latest stable release of Xargo
6
- local tag=$( git ls-remote --tags --refs --exit-code https://github.com/japaric/xargo \
7
- | cut -d/ -f3 \
8
- | grep -E ' ^v[0.3.0-9.]+$' \
9
- | sort --version-sort \
10
- | tail -n1)
11
-
12
- curl -LSfs https://japaric.github.io/trust/install.sh | \
13
- sh -s -- \
14
- --force \
15
- --git japaric/xargo \
16
- --tag $tag \
17
- --target x86_64-unknown-linux-musl
18
-
19
- rustup component list | grep ' rust-src.*installed' || \
20
- rustup component add rust-src
5
+ rustup target add $TARGET
21
6
fi
22
7
}
23
8
Original file line number Diff line number Diff line change 1
1
set -euxo pipefail
2
2
3
3
main () {
4
+ cargo check --target $TARGET
5
+
4
6
if [ $TARGET = x86_64-unknown-linux-gnu ]; then
5
- cargo check --target $TARGET
6
7
cargo test --target $TARGET
7
8
return
8
9
fi
9
-
10
- xargo check --target $TARGET
11
10
}
12
11
13
12
if [ $TRAVIS_BRANCH != master ]; then
You can’t perform that action at this time.
0 commit comments