summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2017-02-16 16:32:17 +0000
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2017-02-16 16:32:17 +0000
commit089ceb96a81d56857cb034ebdcf97a7ca19da0f7 (patch)
tree7bf2b999b2cb5a03ab9715a30fee5f47a57e15ae
parent7819d0fc6c0de98b39789b11191bb627ef5fdcf3 (diff)
downloadpsycopg2-089ceb96a81d56857cb034ebdcf97a7ca19da0f7.tar.gz
Download postgres from github instead of ftp.postgresql.orgtest-windows
There may be some misconfigured mirror, download fails randomly, e.g. https://ci.appveyor.com/project/psycopg/psycopg2/build/job/9j792s03tghrb7sr
-rw-r--r--.appveyor.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index 5c418e4..fe52c55 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -155,7 +155,7 @@ install:
# Download OpenSSL source
- CD C:\Others
- IF NOT EXIST OpenSSL_1_0_2k.tar.gz (
- appveyor DownloadFile https://github.com/openssl/openssl/archive/OpenSSL_1_0_2k.tar.gz
+ curl -fsSL -o OpenSSL_1_0_2k.tar.gz https://github.com/openssl/openssl/archive/OpenSSL_1_0_2k.tar.gz
)
# To use OpenSSL >= 1.1.0, both libpq and psycopg build environments have
@@ -188,7 +188,7 @@ install:
# Download PostgreSQL source
- CD C:\Others
- IF NOT EXIST postgresql-9.6.2.tar.gz (
- appveyor DownloadFile https://ftp.postgresql.org/pub/source/v9.6.2/postgresql-9.6.2.tar.gz
+ curl -fsSL -o postgresql-9.6.2.tar.gz https://github.com/postgres/postgres/archive/REL9_6_2.tar.gz
)
# Setup build config file (config.pl)