I'm trying to add continuous integration to a project called Halite, which uses libsodium to encrypt cookies before storing them on the end-user's device.
However, I can't seem to get my travis.yml right. These were the issues I encountered:
- Adding
extension=libsodium.so
did not lead to the extension being loaded (thus, classSodium
not found fatal errors). - Changing it to
extension=/path/to/libsodium.so
caused a fatal error where the PHPAPI versions mismatched.
I can run the tests locally, but I'd like to use Travis CI to help diagnose issues in pull requests.