File tree Expand file tree Collapse file tree 3 files changed +12
-14
lines changed Expand file tree Collapse file tree 3 files changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ matrix:
17
17
# builders so heavily that we otherwise can't merge PRs during the work
18
18
# week. Additionally they're moved to the front of the line to get them in
19
19
# the Travis OS X build queue first.
20
- - env : TARGET="aarch64-apple-ios; armv7-apple-ios; armv7s-apple-ios; i386-apple-ios; x86_64-apple-ios" DISABLE_TESTS=1
20
+ - env : TARGET="aarch64-apple-ios armv7-apple-ios armv7s-apple-ios i386-apple-ios x86_64-apple-ios" DISABLE_TESTS=1
21
21
rust : 1.24.1
22
22
os : osx
23
23
Original file line number Diff line number Diff line change @@ -19,8 +19,7 @@ main() {
19
19
20
20
# Builds for iOS are done on OSX, but require the specific target to be
21
21
# installed.
22
- IFS=' ;' read -ra TARGET_ARRAY <<< " $TARGET"
23
- for t in " ${TARGET_ARRAY[@]} " ; do
22
+ for t in " $TARGET " ; do
24
23
case $t in
25
24
aarch64-apple-ios)
26
25
rustup target install aarch64-apple-ios
Original file line number Diff line number Diff line change @@ -12,19 +12,18 @@ main() {
12
12
export RUSTFLAGS=--cfg=cirrus
13
13
fi
14
14
15
- IFS=' ;' read -ra TARGET_ARRAY <<< " $TARGET"
16
- for t in " ${TARGET_ARRAY[@]} " ; do
17
- # Build debug and release targets
18
- cross build --target $t
19
- cross build --target $t --release
15
+ for t in " $TARGET " ; do
16
+ # Build debug and release targets
17
+ cross build --target $t
18
+ cross build --target $t --release
20
19
21
- if [ ! -z $DISABLE_TESTS ]; then
22
- continue
23
- fi
20
+ if [ ! -z $DISABLE_TESTS ]; then
21
+ continue
22
+ fi
24
23
25
- # Run tests on debug and release targets.
26
- cross test --target $t
27
- cross test --target $t --release
24
+ # Run tests on debug and release targets.
25
+ cross test --target $t
26
+ cross test --target $t --release
28
27
done
29
28
}
30
29
You can’t perform that action at this time.
0 commit comments