We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8328963 commit 662e32fCopy full SHA for 662e32f
.travis.yml
@@ -134,8 +134,10 @@ matrix:
134
- >-
135
git clone --depth=1 --single-branch https://github.com/ARMmbed/mbed-os.git;
136
cd mbed-os;
137
- git fetch origin +refs/pull/${TRAVIS_PULL_REQUEST}/merge;
138
- git checkout -qf FETCH_HEAD
+ - to_fetch=("${TRAVIS_COMMIT}")
+ - if [ false != "${TRAVIS_PULL_REQUEST-}" ]; then to_fetch+=("+refs/pull/${TRAVIS_PULL_REQUEST}/merge:"); fi
139
+ - git fetch -q -- origin "${to_fetch[@]}"
140
+ - git checkout -qf "${TRAVIS_COMMIT}" --
141
142
cd -;
143
# Replace the content of mbed-os.lib to stay on ${TRAVIS_PULL_REQUEST}
0 commit comments