summaryrefslogtreecommitdiff
path: root/libc/ci/semver.sh
diff options
context:
space:
mode:
Diffstat (limited to 'libc/ci/semver.sh')
-rw-r--r--libc/ci/semver.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/libc/ci/semver.sh b/libc/ci/semver.sh
index ac6be36..3412501 100644
--- a/libc/ci/semver.sh
+++ b/libc/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*)