ERROR: LoadError: LoadError: error compiling top-level scope: could not load library "zlib1"

Turns out downloading the .dll didn’t work. After downloading it and placing it in /julia/bin (placing it in julia/lib did nothing), I got the following error:

ERROR: LoadError: LoadError: error compiling top-level scope: could not load library "zlib1"
%1 is not a valid Win32 application.

Which is slightly different than what I got before:

ERROR: LoadError: LoadError: error compiling top-level scope: could not load library "zlib1"
%1 is not a valid Win32 application.

This is the code I added to my yaml file to download the .dll

before_install:
  - if [ "$TRAVIS_OS_NAME" = "windows" ]; 
    then wget -O zlib-1.2.3-bin.zip http://managedway.dl.sourceforge.net/project/gnuwin32/zlib/1.2.3/zlib-1.2.3-bin.zip;
    unzip zlib-1.2.3-bin.zip;
    mv bin/zlib1.dll C:/julia/bin/zlib1.dll;
    fi

Not sure if that means I have the wrong .dll. I posted an issue on the github repo for GZip. This seems to be a somewhat common problem.