[Groonga-commit] ranguba/groonga-client-model at 935bf7e [master] travis: run test in test/apps

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Dec 1 18:39:12 JST 2016


Kouhei Sutou	2016-12-01 18:39:12 +0900 (Thu, 01 Dec 2016)

  New Revision: 935bf7e9115832e6d601366374c8d6642de9cbf8
  https://github.com/ranguba/groonga-client-model/commit/935bf7e9115832e6d601366374c8d6642de9cbf8

  Message:
    travis: run test in test/apps
    
    But they don't work yet.

  Modified files:
    .travis.yml

  Modified: .travis.yml (+18 -0)
===================================================================
--- .travis.yml    2016-12-01 18:34:50 +0900 (f769c43)
+++ .travis.yml    2016-12-01 18:39:12 +0900 (3ba3bb9)
@@ -7,4 +7,22 @@ rvm:
   - 2.2
   - 2.3.0
 before_install:
+  - curl --silent --location https://github.com/groonga/groonga/raw/master/data/travis/setup.sh | sh
+  - sudo apt-get -qq -y install groonga-bin groonga-tokenizer-mecab
   - gem update bundler
+install:
+  - bundle install --jobs=3 --retry=3
+  - |
+    for test_app in ${PWD}/test/apps/*
+    do
+      (cd ${test_app} && \
+       BUNDLE_GEMFILE=${test_app}/Gemfile bundle install --jobs=3 --retry=3)
+    done
+script:
+  - bundle exec ruby test/unit/run-test.rb
+  - |
+    for test_app in ${PWD}/test/apps/*
+    do
+      (cd ${test_app} && \
+       BUNDLE_GEMFILE=${test_app}/Gemfile bundle exec rake)
+    done
-------------- next part --------------
HTML����������������������������...
다운로드 



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