@@ -44,32 +44,26 @@ matrix:
44
44
- name : " s390x-unknown-linux-gnu - build-only"
45
45
env : TARGET=s390x-unknown-linux-gnu NORUN=1
46
46
- name : " i686-apple-darwin"
47
- env : TARGET=i686-apple-darwin
47
+ env : TARGET=i686-apple-darwin NO_DOCKER=1
48
48
os : osx
49
49
osx_image : xcode10
50
- script : ci/run.sh
51
50
- name : " x86_64-apple-darwin"
52
- env : TARGET=x86_64-apple-darwin
51
+ env : TARGET=x86_64-apple-darwin NO_DOCKER=1
53
52
os : osx
54
53
osx_image : xcode10
55
54
install : true
56
- script : ci/run.sh
57
55
- name : " wasm32-unknown-unknown"
58
56
env : TARGET=wasm32-unknown-unknown
59
57
- name : " nvptx64-nvidia-cuda - cross compiled, build libcore only"
60
58
env : TARGET=nvptx64-nvidia-cuda NORUN=1 NOSTD=1
61
59
- name : " thumbv6m-none-eabi - build libcore only"
62
- env : TARGET=thumbv6m-none-eabi NORUN=1 NOSTD=1
63
- script : ci/run.sh
60
+ env : TARGET=thumbv6m-none-eabi NORUN=1 NOSTD=1 NO_DOCKER=1
64
61
- name : " thumbv7m-none-eabi - build libcore only"
65
- env : TARGET=thumbv7m-none-eabi NORUN=1 NOSTD=1
66
- script : ci/run.sh
62
+ env : TARGET=thumbv7m-none-eabi NORUN=1 NOSTD=1 NO_DOCKER=1
67
63
- name : " thumbv7em-none-eabi - build libcore only"
68
- env : TARGET=thumbv7em-none-eabi NORUN=1 NOSTD=1
69
- script : ci/run.sh
64
+ env : TARGET=thumbv7em-none-eabi NORUN=1 NOSTD=1 NO_DOCKER=1
70
65
- name : " thumbv7em-none-eabihf - build libcore only"
71
- env : TARGET=thumbv7em-none-eabihf NORUN=1 NOSTD=1
72
- script : ci/run.sh
66
+ env : TARGET=thumbv7em-none-eabihf NORUN=1 NOSTD=1 NO_DOCKER=1
73
67
- name : " Documentation"
74
68
install : true
75
69
script : ci/dox.sh
@@ -102,7 +96,23 @@ matrix:
102
96
install : travis_retry rustup target add $TARGET
103
97
script :
104
98
- cargo generate-lockfile
105
- - ci/run-docker.sh $TARGET
99
+ - sed 's@2015@2018@g' crates/core_arch/Cargo.toml > crates/core_arch/Cargo2018.toml
100
+ - sed 's@2015@2018@g' crates/std_detect/Cargo.toml > crates/std_detect/Cargo2018.toml
101
+ - mv crates/core_arch/Cargo.toml crates/core_arch/Cargo.toml.bak
102
+ - mv crates/std_detect/Cargo.toml crates/std_detect/Cargo.toml.bak
103
+ - mv crates/core_arch/Cargo2018.toml crates/core_arch/Cargo.toml
104
+ - mv crates/std_detect/Cargo2018.toml crates/std_detect/Cargo.toml
105
+ - cargo build --target="${TARGET}" --manifest-path=crates/core_arch/Cargo.toml
106
+ - cargo build --target="${TARGET}" --manifest-path=crates/std_detect/Cargo.toml
107
+ - mv crates/core_arch/Cargo.toml.bak crates/core_arch/Cargo.toml
108
+ - mv crates/std_detect/Cargo.toml.bak crates/std_detect/Cargo.toml
109
+ - |
110
+ if [ "${NO_DOCKER}" = "1" ]; then
111
+ ci/run.sh $TARGET
112
+ else
113
+ ci/run-docker.sh $TARGET
114
+ fi
115
+
106
116
107
117
notifications :
108
118
email :
0 commit comments