test sudo without password on osx
commitf7491e5ca612f8a5f4b372b75577e77e9f8dd49b
authorHugh JF Chen <hugh.jf.chen@gmail.com>
dateMon 11 May 2020, 08:29 (6 years ago)
parent25270cc
.travis.yml+2−1
@@ -26,7 +26,8 @@ matrix:
2626before_script:
2727 - unset CC
2828 - id
29− - sudo -n true
29+ - sudo -n true || echo "sudo password needed, may fail"
30+ - sudo -v
3031
3132# Here starts the actual work to be performed for the package under test;
3233# any command which exits with a non-zero exit code causes the build to fail.