on master help sign in
test sudo without password on osx
f7491e5Hugh JF Chen
.travis.yml+2−1
@@ -26,7 +26,8 @@ matrix:
26before_script:
26before_script:
27 - unset CC
27 - unset CC
28 - id
28 - id
29− - sudo -n true
29+ - sudo -n true || echo "sudo password needed, may fail"
30+ - sudo -v
30
31
31# Here starts the actual work to be performed for the package under test;
32# Here starts the actual work to be performed for the package under test;
32# any command which exits with a non-zero exit code causes the build to fail.
33# any command which exits with a non-zero exit code causes the build to fail.