mirror of
https://github.com/open-quantum-safe/liboqs.git
synced 2025-11-27 00:04:24 -05:00
* Use OpenSSL's EVP_MD_CTX_new and _free * OSX testing added (only on checkin, only on master) * Alternative way of running stuff only on recent check-ins * OR not AND * Build OSX on commit temporarily * Missing checkout * Install missing Python module on OSX * Remove macOS on Travis Co-authored-by: Michael Baentsch <57787676+baentsch@users.noreply.github.com>
13 lines
320 B
Bash
Executable File
13 lines
320 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Detects whether there has been a Git commit in the last day on this
|
|
# branch. Returns 1 if there has been a commit, 0 if there has not.
|
|
|
|
r=`git log --name-only --since="1 day ago" -n 2`
|
|
if [ "x$r" == "x" ]; then
|
|
echo "No commit in the last day. No build/test required. Exiting."
|
|
exit 0
|
|
else
|
|
exit 1
|
|
fi
|