Skip to content

Commit 19e1a1f

Browse files
committed
chore: travis build changes
1 parent ca7881a commit 19e1a1f

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.travis.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ jobs:
66
os: linux
77
- env: TARGET=x86_64-unknown-linux-musl
88
os: linux
9+
addons:
10+
apt:
11+
packages:
12+
- musl-tools
913
- env: TARGET=arm-unknown-linux-gnueabihf
1014
os: linux
1115
- env: TARGET=aarch64-unknown-linux-gnu
@@ -16,8 +20,12 @@ jobs:
1620
- env: TARGET=x86_64-pc-windows-gnu
1721
os: windows
1822

19-
before_deploy:
23+
install: skip
24+
25+
script:
2026
- ./build.sh
27+
28+
before_deploy:
2129
- mv ./target/release/oscar "oscar-$TARGET."
2230

2331
deploy:

build.sh

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ rustup target add "$TARGET"
55
# Download the Raspberry Pi cross-compilation toolchain if needed
66
if [ "$TARGET" = "arm-unknown-linux-gnueabihf" ]
77
then
8-
git clone --depth=1 https://github.com/raspberrypi/tools.git /tmp/tools
9-
export PATH=/tmp/tools/arm-bcm2708/arm-linux-gnueabihf/bin:$PATH
8+
git clone --depth=1 https://github.com/raspberrypi/tools.git /tmp/tools;
9+
export PATH=/tmp/tools/arm-bcm2708/arm-linux-gnueabihf/bin:$PATH;
1010
fi
1111

1212
cargo build --target="$TARGET" --release

0 commit comments

Comments
 (0)