File tree 3 files changed +25
-21
lines changed
3 files changed +25
-21
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ matrix:
91
91
- os : osx
92
92
- os : windows
93
93
94
- script :
94
+ before_script :
95
95
- |
96
96
if [ "$TRAVIS_BRANCH" == "auto" ] || [ "$TRAVIS_BRANCH" == "try" ]; then
97
97
pr=$(echo $TRAVIS_COMMIT_MESSAGE | grep -o "#[0-9]*" | head -1 | sed 's/^#//g')
@@ -107,28 +107,31 @@ script:
107
107
fi
108
108
fi
109
109
- |
110
- rm rust-toolchain
111
- ./setup-toolchain.sh
112
- if [ "$TRAVIS_OS_NAME" == "windows" ]; then
113
- export PATH=$PATH:$(rustc --print sysroot)/bin
114
- else
115
- export LD_LIBRARY_PATH=$(rustc --print sysroot)/lib
116
- fi
110
+ rm rust-toolchain
111
+ ./setup-toolchain.sh
112
+ - |
113
+ if [ "$TRAVIS_OS_NAME" == "windows" ]; then
114
+ export PATH=$PATH:$(rustc --print sysroot)/bin
115
+ else
116
+ export LD_LIBRARY_PATH=$(rustc --print sysroot)/lib
117
+ fi
118
+
119
+ script :
117
120
- |
118
121
if [ -z ${INTEGRATION} ]; then
119
122
travis_wait 30 ./ci/base-tests.sh && sleep 5
120
123
else
121
124
./ci/integration-tests.sh && sleep 5
122
125
fi
123
126
124
- after_success : |
125
- #!/bin/bash
126
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
127
- set -ex
128
- if [ -z ${INTEGRATION} ]; then
129
- ./.github/deploy.sh
130
- else
131
- echo "Not deploying, because we're in an integration test run"
127
+ after_success :
128
+ - |
129
+ if [ "$TRAVIS_OS_NAME" == "linux" ]; then
130
+ set -e
131
+ if [ -z ${INTEGRATION} ]; then
132
+ ./.github/deploy.sh
133
+ else
134
+ echo "Not deploying, because we're in an integration test run"
135
+ fi
136
+ set +e
132
137
fi
133
- set +e
134
- fi
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ install:
18
18
- rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly
19
19
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
20
20
- del rust-toolchain
21
- - cargo install --git https://github.com/kennytm/ rustup-toolchain-install-master --debug || echo "rustup-toolchain-install-master already installed"
21
+ - cargo install rustup-toolchain-install-master --debug || echo "rustup-toolchain-install-master already installed"
22
22
- rustup-toolchain-install-master -f -n master
23
23
- rustup component add rustfmt --toolchain nightly & exit 0 # Format test handles missing rustfmt
24
24
- rustup default master
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
# Set up the appropriate rustc toolchain
3
3
4
+ set -e
5
+
4
6
cd " $( dirname " $0 " ) " || exit
5
7
6
8
if ! command -v rustup-toolchain-install-master > /dev/null; then
7
9
cargo install \
8
- --git https://github.com/lzutao/rustup-toolchain-install-master \
9
- --rev c44dbf920b644000ac3ba01184cbb1a01bb91519 \
10
+ rustup-toolchain-install-master \
10
11
--bin rustup-toolchain-install-master \
11
12
--debug
12
13
fi
You can’t perform that action at this time.
0 commit comments