php - What's the best way to install a PECL extension (libsodium) for unit testing with Travis CI? -
i'm trying add continuous integration project called halite, uses libsodium encrypt cookies before storing them on end-user's device.
however, can't seem travis.yml right. these issues encountered:
- adding
extension=libsodium.so
did not lead extension being loaded (thus, classsodium
not found fatal errors). - changing
extension=/path/to/libsodium.so
caused fatal error phpapi versions mismatched.
i can run tests locally, i'd use travis ci diagnose issues in pull requests.
run pecl install without sudo. pecl should automatically enable extension shouldn't need config file , extension= line enable it.
Comments
Post a Comment