[Groonga-commit] groonga/groonga at 2bd6da3 [master] travis: extract script code

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Oct 4 12:42:51 JST 2013


Kouhei Sutou	2013-10-04 12:42:51 +0900 (Fri, 04 Oct 2013)

  New Revision: 2bd6da37b866b650050b7f8344d562f074f20aff
  https://github.com/groonga/groonga/commit/2bd6da37b866b650050b7f8344d562f074f20aff

  Message:
    travis: extract script code
    
    Because we can't use "&" in YAML.

  Added files:
    tools/travis-script.sh
  Modified files:
    .travis.yml

  Modified: .travis.yml (+1 -4)
===================================================================
--- .travis.yml    2013-10-04 12:32:08 +0900 (f9aa11f)
+++ .travis.yml    2013-10-04 12:42:51 +0900 (423d8b6)
@@ -15,7 +15,4 @@ before_script:
   - rvm use 1.9.3
   - tools/travis-before-script.sh
 script:
-  - [ ${BUILD_TOOL} == "autotools" ] && NO_RUBY=yes test/unit/run-test.sh
-  - test/command/run-test.sh
-#  - test/command/run-test.sh --interface http
-#  - test/command/run-test.sh --interface http --testee groonga-httpd
+  - tools/travis-script.sh

  Added: tools/travis-script.sh (+15 -0) 100755
===================================================================
--- /dev/null
+++ tools/travis-script.sh    2013-10-04 12:42:51 +0900 (6ab8379)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+
+case "${BUILD_TOOLS}" in
+    autotools)
+	NO_RUBY=yes test/unit/run-test.sh
+	test/command/run-test.sh
+	# test/command/run-test.sh --interface http
+	# test/command/run-test.sh --interface http --testee groonga-httpd
+	;;
+    cmake)
+	test/command/run-test.sh
+	;;
+esac
-------------- next part --------------
HTML����������������������������...
Download 



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