Skip to content

Commit 3f8f4b6

Browse files
bors[bot]japaric
andcommitted
2: s/Xargo/Cargo/ r=japaric a=japaric Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2 parents d365ef8 + f5f953a commit 3f8f4b6

File tree

3 files changed

+4
-23
lines changed

3 files changed

+4
-23
lines changed

.travis.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ after_script: set +e
2020
after_success:
2121
- bash ci/after_success.sh
2222

23-
cache:
24-
cargo: true
25-
directories:
26-
- $HOME/.xargo
23+
cache: cargo
2724

2825
before_cache:
2926
# Travis can't cache files that are not readable by "others"

ci/install.sh

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,7 @@ set -euxo pipefail
22

33
main() {
44
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
216
fi
227
}
238

ci/script.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
set -euxo pipefail
22

33
main() {
4+
cargo check --target $TARGET
5+
46
if [ $TARGET = x86_64-unknown-linux-gnu ]; then
5-
cargo check --target $TARGET
67
cargo test --target $TARGET
78
return
89
fi
9-
10-
xargo check --target $TARGET
1110
}
1211

1312
if [ $TRAVIS_BRANCH != master ]; then

0 commit comments

Comments
 (0)