[Groonga-commit] pgroonga/pgroonga at e605469 [master] appveyor: try to start PG ASAP

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Sep 22 10:05:52 JST 2016


Kouhei Sutou	2016-09-22 10:05:52 +0900 (Thu, 22 Sep 2016)

  New Revision: e605469df5bb54fd3962c317f867fda98d603db8
  https://github.com/pgroonga/pgroonga/commit/e605469df5bb54fd3962c317f867fda98d603db8

  Message:
    appveyor: try to start PG ASAP

  Modified files:
    appveyor.yml

  Modified: appveyor.yml (+9 -7)
===================================================================
--- appveyor.yml    2016-09-22 01:35:55 +0900 (36ba644)
+++ appveyor.yml    2016-09-22 10:05:52 +0900 (6a6c748)
@@ -6,8 +6,15 @@ build_script:
   - git submodule update --init
   - cd ..
   - choco install -y curl 7zip.commandline
+
   - curl -O http://get.enterprisedb.com/postgresql/postgresql-9.5.3-1-windows-x64-binaries.zip
   - 7z x postgresql-9.5.3-1-windows-x64-binaries.zip > nul
+  - pgsql\bin\initdb
+      --encoding=UTF-8
+      --no-locale
+      pgsql\data
+  - ps: $PGProcess = Start-Process pgsql\bin\postgres -D pgsql\data
+
   - cd pgroonga
   - curl -O http://packages.groonga.org/source/groonga/groonga-6.0.8.zip
   - 7z x groonga-6.0.8.zip > nul
@@ -27,12 +34,6 @@ notifications:
       - groonga-commit �� lists.sourceforge.jp
     on_build_status_changed: true
 
-before_test:
-  - ..\pgsql\bin\initdb
-      --encoding=UTF-8
-      --no-locale
-      ..\pgsql\data
-  - ps: $PGProcess = Start-Process ..\pgsql\bin\postgres -D ..\pgsql\data
 test_script:
   - mkdir results\array\varchar\single\match
   - ..\pgsql\bin\pg_regress
@@ -40,5 +41,6 @@ test_script:
       --load-extension=pgroonga
       array/varchar/single/match/seqscan ||
     (type regression.diffs & nonexistent_command)
-after_test:
+
+on_finish:
   - ps: Stop-Process -Id $PGProcess.Id
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index