From 0c813d081c4696571713b8fff83b6178febfeca5 Mon Sep 17 00:00:00 2001 From: Rafa de la Torre Date: Wed, 13 Apr 2016 18:15:19 +0200 Subject: [PATCH 1/3] Ignore develop artifacts Ignore artifacts produced by `sudo make install`. --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index e43b0f9..4e3e7f4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ .DS_Store +src/pg/observatory--current--dev.sql +src/pg/observatory--dev--current.sql +src/pg/observatory--dev.sql From 2f4f9412b03a813c7128bd41d5e65352a41a1d88 Mon Sep 17 00:00:00 2001 From: Rafa de la Torre Date: Wed, 13 Apr 2016 18:16:35 +0200 Subject: [PATCH 2/3] Ignore test results directory Ignore contents of directory produced by `make test`. --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 4e3e7f4..de0c685 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ src/pg/observatory--current--dev.sql src/pg/observatory--dev--current.sql src/pg/observatory--dev.sql +src/pg/test/results From c35c453c251733f004deeda6f24f997ef6e50fa9 Mon Sep 17 00:00:00 2001 From: Rafa de la Torre Date: Wed, 13 Apr 2016 18:17:23 +0200 Subject: [PATCH 3/3] Add plpythonu to install test Add `plpythonu` extension as it's a dependency to `cartodb` extension. --- src/pg/test/expected/01_install_test.out | 1 + src/pg/test/sql/01_install_test.sql | 1 + 2 files changed, 2 insertions(+) diff --git a/src/pg/test/expected/01_install_test.out b/src/pg/test/expected/01_install_test.out index 99da48c..4851fd3 100644 --- a/src/pg/test/expected/01_install_test.out +++ b/src/pg/test/expected/01_install_test.out @@ -1,5 +1,6 @@ -- Install dependencies CREATE EXTENSION postgis; +CREATE EXTENSION plpythonu; CREATE EXTENSION cartodb; -- Install the extension CREATE EXTENSION observatory VERSION 'dev'; diff --git a/src/pg/test/sql/01_install_test.sql b/src/pg/test/sql/01_install_test.sql index 58502b1..f46a6e0 100644 --- a/src/pg/test/sql/01_install_test.sql +++ b/src/pg/test/sql/01_install_test.sql @@ -1,5 +1,6 @@ -- Install dependencies CREATE EXTENSION postgis; +CREATE EXTENSION plpythonu; CREATE EXTENSION cartodb; -- Install the extension