-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #332 from CartoDB/develop
Release 1.9.0
- Loading branch information
Showing
25 changed files
with
189,464 additions
and
187,232 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,23 @@ | ||
language: c | ||
dist: precise | ||
group: travis_stable | ||
sudo: required | ||
|
||
env: | ||
global: | ||
- PAGER=cat | ||
|
||
before_install: | ||
- sudo add-apt-repository -y ppa:cartodb/postgresql-9.5 | ||
- sudo add-apt-repository -y ppa:cartodb/gis | ||
- sudo add-apt-repository -y ppa:cartodb/gis-testing | ||
- sudo apt-get update | ||
|
||
# Install postgres db and build deps | ||
- sudo /etc/init.d/postgresql stop # stop travis default instance | ||
- sudo apt-get -y remove --purge postgresql-9.1 | ||
- sudo apt-get -y remove --purge postgresql-9.2 | ||
- sudo apt-get -y remove --purge postgresql-9.3 | ||
- sudo apt-get -y remove --purge postgresql-9.4 | ||
- sudo apt-get -y remove --purge postgresql-9.5 | ||
- sudo rm -rf /var/lib/postgresql/ | ||
- sudo rm -rf /var/log/postgresql/ | ||
- sudo rm -rf /etc/postgresql/ | ||
- sudo apt-get -y remove --purge postgis-2.2 | ||
- sudo apt-get -y autoremove | ||
matrix: | ||
include: | ||
- env: PGSQL_VERSION=9.5 POSTGIS_VERSION=2.2 | ||
- env: PGSQL_VERSION=9.6 POSTGIS_VERSION=2.3 | ||
- env: PGSQL_VERSION=10 POSTGIS_VERSION=2.4 | ||
|
||
- sudo apt-get -y install postgresql-9.5=9.5.2-3cdb3 | ||
- sudo apt-get -y install postgresql-server-dev-9.5=9.5.2-3cdb3 | ||
- sudo apt-get -y install postgresql-plpython-9.5=9.5.2-3cdb3 | ||
- sudo apt-get -y install postgresql-9.5-postgis-scripts=2.2.2.0-cdb2 | ||
- sudo apt-get -y install postgresql-9.5-postgis-2.2=2.2.2.0-cdb2 | ||
|
||
# configure it to accept local connections from postgres | ||
- echo -e "# TYPE DATABASE USER ADDRESS METHOD \nlocal all postgres trust\nlocal all all trust\nhost all all 127.0.0.1/32 trust" \ | ||
| sudo tee /etc/postgresql/9.5/main/pg_hba.conf | ||
- sudo /etc/init.d/postgresql restart 9.5 | ||
before_install: | ||
- sudo bash $TRAVIS_BUILD_DIR/scripts/ci/install_postgres.sh | ||
|
||
install: | ||
- sudo make install | ||
|
||
script: | ||
- cd src/pg | ||
- make test || { cat src/pg/test/regression.diffs; false; } | ||
- make test || { cat $TRAVIS_BUILD_DIR/src/pg/test/regression.diffs; false; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.