[Groonga-commit] groonga/groonga at 560d88d [master] travis: install Sphinx for Windows build

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Jul 24 11:21:48 JST 2018


Kouhei Sutou	2018-07-24 11:21:48 +0900 (Tue, 24 Jul 2018)

  New Revision: 560d88d74960c9ff7d646b32a5ed2d716cf3691b
  https://github.com/groonga/groonga/commit/560d88d74960c9ff7d646b32a5ed2d716cf3691b

  Message:
    travis: install Sphinx for Windows build

  Added files:
    Brewfile
  Modified files:
    travis/install.sh

  Added: Brewfile (+11 -0) 100644
===================================================================
--- /dev/null
+++ Brewfile    2018-07-24 11:21:48 +0900 (7e6251769)
@@ -0,0 +1,11 @@
+brew "autoconf-archive"
+# brew "cutter"
+brew "libevent"
+brew "libtool"
+brew "mecab"
+brew "mecab-ipadic"
+brew "msgpack"
+brew "openssl"
+brew "pcre"
+brew "pkg-config"
+brew "python"

  Modified: travis/install.sh (+11 -11)
===================================================================
--- travis/install.sh    2018-07-24 10:08:52 +0900 (5a58db3f5)
+++ travis/install.sh    2018-07-24 11:21:48 +0900 (352dd61ae)
@@ -21,9 +21,11 @@ fi
 
 if [ -n "${TARGET}" ]; then
   ENABLE_MRUBY=yes
+  ENABLE_DOCUMENT=yes
 fi
 
 : ${ENABLE_MRUBY:=no}
+: ${ENABLE_DOCUMENT:=no}
 
 case "${TRAVIS_OS_NAME}" in
   linux)
@@ -41,20 +43,18 @@ case "${TRAVIS_OS_NAME}" in
          mecab-naist-jdic \
          cmake \
          gdb
+    if [ "${ENABLE_DOCUMENT}" = "yes" ]; then
+      sudo apt-get intall -qq -y \
+           python3-pip
+      sudo pip3 install Sphinx
+    fi
     ;;
   osx)
     brew update > /dev/null
-    brew outdated pkg-config || brew upgrade pkg-config
-    brew reinstall libtool
-    brew outdated libevent || brew upgrade libevent
-    brew outdated pcre || brew upgrade pcre
-    brew outdated msgpack || brew upgrade msgpack
-    brew install \
-         autoconf-archive \
-         mecab \
-         mecab-ipadic
-    brew install --force openssl
-    # brew install cutter
+    brew bundle
+    if [ "${ENABLE_DOCUMENT}" = "yes" ]; then
+      pip3 install Sphinx
+    fi
     ;;
 esac
 
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180724/32b692d0/attachment-0001.htm 



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