Travis CI: Only replace /dev/random with /dev/urandom on linux, not mac
This commit is contained in:
parent
2afcaf4bba
commit
26d20998f3
@ -33,7 +33,7 @@ install:
|
||||
- chmod +x run_with_fuse.sh
|
||||
- cmake --version
|
||||
# Use /dev/urandom when /dev/random is accessed, because travis doesn't have enough entropy
|
||||
- sudo cp -a /dev/urandom /dev/random
|
||||
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then sudo cp -a /dev/urandom /dev/random; fi
|
||||
script:
|
||||
- cmake .. -DBUILD_TESTING=on -DCMAKE_BUILD_TYPE=Debug
|
||||
- make -j$NUMCORES
|
||||
|
Loading…
Reference in New Issue
Block a user