summaryrefslogtreecommitdiff
path: root/ci/semver.sh
diff options
context:
space:
mode:
authorgnzlbg <gonzalobg88@gmail.com>2019-05-28 19:10:23 +0200
committergnzlbg <gonzalobg88@gmail.com>2019-07-27 13:25:22 +0200
commit6ca5bfaea17f5c48843abb46dc22771fbe5fda2d (patch)
tree6079f64dfa00bef2da5db182239a5b85ffe5a8b7 /ci/semver.sh
parent7c8e397c0cc463e60345183d77de8b66431d7316 (diff)
downloadrust-libc-6ca5bfaea17f5c48843abb46dc22771fbe5fda2d.tar.gz
Setup Azure Pipelines
Diffstat (limited to 'ci/semver.sh')
-rw-r--r--ci/semver.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/ci/semver.sh b/ci/semver.sh
index ac6be36f3f..3412501a72 100644
--- a/ci/semver.sh
+++ b/ci/semver.sh
@@ -4,10 +4,17 @@
set -ex
-OS=${TRAVIS_OS_NAME}
+OS=${1}
echo "Testing Semver on ${OS}"
+if ! rustc --version | grep -E "nightly" ; then
+ echo "Building semverver requires a nightly Rust toolchain"
+ exit 1
+fi
+
+cargo +nightly install semverver -Z install-upgrade
+
TARGETS=
case "${OS}" in
*linux*)