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
|
- chmod +x run_with_fuse.sh
|
||||||
- cmake --version
|
- cmake --version
|
||||||
# Use /dev/urandom when /dev/random is accessed, because travis doesn't have enough entropy
|
# 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:
|
script:
|
||||||
- cmake .. -DBUILD_TESTING=on -DCMAKE_BUILD_TYPE=Debug
|
- cmake .. -DBUILD_TESTING=on -DCMAKE_BUILD_TYPE=Debug
|
||||||
- make -j$NUMCORES
|
- make -j$NUMCORES
|
||||||
|
Loading…
Reference in New Issue
Block a user