DLL not found for winpcap on windows CI

The failed build: https://travis-ci.com/github/Wojtek242/pcap/jobs/347344574

My travis file: https://github.com/Wojtek242/pcap/blob/c2a698b70afe9f4f7a6a19c6f65cfc649ab3e30b/.travis.yml

I’ve managed to get the code to compile on Windows on Travis, but when run it will crash complaining about a missing DLL. The missing DLL is wpcap.dll and other related DLLs from winpcap. I run choco install -y winpcap in before_install, which claims the install has completed successfully, but the tests still crash. Any ideas what could have gone wrong?