[Groonga-mysql-commit] mroonga/mroonga [master] travis: support multi architectures

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Mar 25 23:11:27 JST 2013


Kouhei Sutou	2013-03-25 23:11:27 +0900 (Mon, 25 Mar 2013)

  New Revision: 8ac939f6112d9faa306d12c90cbd05b71ef6864c
  https://github.com/mroonga/mroonga/commit/8ac939f6112d9faa306d12c90cbd05b71ef6864c

  Message:
    travis: support multi architectures
    
    Travis CI runs 64bit machine!!!

  Modified files:
    tools/travis/install.sh

  Modified: tools/travis/install.sh (+6 -1)
===================================================================
--- tools/travis/install.sh    2013-03-25 23:05:03 +0900 (14f6975)
+++ tools/travis/install.sh    2013-03-25 23:11:27 +0900 (f1c8087)
@@ -44,7 +44,12 @@ case "$MYSQL_VERSION" in
 	    ln -s $(find . -maxdepth 1 -type d | sort | tail -1) mysql
 	else
 	    download_base="http://cdn.mysql.com/Downloads/MySQL-${series}/"
-	    deb=mysql-${version}-debian6.0-i686.deb
+	    if [ "$(uname -m)" = "x86_64" ]; then
+		architecture=x86_64
+	    else
+		architecture=i686
+	    fi
+	    deb=mysql-${version}-debian6.0-${architecture}.deb
 	    tar_gz=mysql-${version}.tar.gz
 	    curl -O ${download_base}${deb} &
 	    curl -O ${download_base}${tar_gz} &
-------------- next part --------------
HTML����������������������������...
다운로드 



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