[Groonga-mysql-commit] mroonga/mroonga [master] travis: enable

Back to archive index

null+****@clear***** null+****@clear*****
2012年 8月 9日 (木) 20:24:52 JST


Kouhei Sutou	2012-08-09 20:24:52 +0900 (Thu, 09 Aug 2012)

  New Revision: 036ea99b7b2178c7af6c69bda8b6a48b218c3548
  https://github.com/mroonga/mroonga/commit/036ea99b7b2178c7af6c69bda8b6a48b218c3548

  Log:
    travis: enable

  Added files:
    .travis.yml

  Added: .travis.yml (+37 -0) 100644
===================================================================
--- /dev/null
+++ .travis.yml    2012-08-09 20:24:52 +0900 (a5c0bbb)
@@ -0,0 +1,37 @@
+notifications:
+  recipients:
+    - kou****@clear*****
+env:
+  - MYSQL_VERSION=system
+  - MYSQL_VERSION=5.5.25a
+install:
+  - echo "deb http://packages.groonga.org/ubuntu/ $(lsb_release --short --codename) universe" | sudo tee /etc/apt/sources.list.d/groonga.list
+  - sudo apt-get update
+  - sudo apt-get -y --allow-unauthenticated install groonga-keyring
+  - sudo apt-get -y purge zeromq
+  - sudo apt-get update
+  - sudo apt-get -y install libgroonga-dev
+  - sudo apt-get -y build-dep mysql-server
+  - sudo apt-get -y install cmake
+before_script:
+  - |
+    if [ "$MYSQL_VERSION" = "system" ]; then
+      apt-get source mysql-server
+      ln -s $(find . -maxdepth 1 -type d | sort | tail -1) mysql
+      cd mysql
+      debuild -us -uc -Tconfigure
+      make -j$(grep '^processor' /proc/cpuinfo | wc -l) > /dev/null
+      cd ..
+    else
+      wget http://ftp.jaist.ac.jp/pub/mysql/Downloads/MySQL-5.5/mysql-${MYSQL_VERSION}.tar.gz
+      tar xvzf mysql-${MYSQL_VERSION}.tar.gz
+      ln -s mysql-${MYSQL_VERSION} mysql
+      cd mysql
+      BUILD/compile-amd64-debug-max
+      cd ..
+    fi
+  - ./autogen.sh
+  - ./configure --with-mysql-source=$PWD/mysql --with-mysql-config=$PWD/mysql_config
+script:
+  - test/run-unit-test.sh
+  - test/run-sql-test.sh
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Télécharger 



Groonga-mysql-commit メーリングリストの案内
Back to archive index