Commit 932fea32 by William Tisäter

Use https when downloading sample databases

parent 412c8c77
...@@ -7,7 +7,7 @@ python: ...@@ -7,7 +7,7 @@ python:
install: install:
- "pip install nose" - "pip install nose"
- "pip install python-coveralls" - "pip install python-coveralls"
- "curl -s http://www.defunct.cc/maxmind-geoip-samples.tar.gz | tar -xzC tests/" - "curl -s https://www.defunct.cc/maxmind-geoip-samples.tar.gz | tar -xzC tests/"
script: script:
- coverage run --source=pygeoip setup.py nosetests - coverage run --source=pygeoip setup.py nosetests
after_success: after_success:
......
...@@ -12,7 +12,7 @@ Running the tests requires a couple of sample databases found on the ...@@ -12,7 +12,7 @@ Running the tests requires a couple of sample databases found on the
link below. link below.
Maxmind sample databases for testing can be downloaded here: Maxmind sample databases for testing can be downloaded here:
http://www.defunct.cc/maxmind-geoip-samples.tar.gz (58 MB) https://www.defunct.cc/maxmind-geoip-samples.tar.gz (58 MB)
Extract the tarball in the tests directory and run `tox` from the root directory. Extract the tarball in the tests directory and run `tox` from the root directory.
......
...@@ -15,7 +15,7 @@ pushd $(dirname $0) ...@@ -15,7 +15,7 @@ pushd $(dirname $0)
if [ ! -d tests/data ]; then if [ ! -d tests/data ]; then
pushd tests pushd tests
wget http://www.defunct.cc/maxmind-geoip-samples.tar.gz wget https://www.defunct.cc/maxmind-geoip-samples.tar.gz
tar -zxvf maxmind-geoip-samples.tar.gz tar -zxvf maxmind-geoip-samples.tar.gz
unlink maxmind-geoip-samples.tar.gz unlink maxmind-geoip-samples.tar.gz
popd popd
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment