[前][次][番号順一覧][スレッド一覧]

ruby-changes:37734

From: nobu <ko1@a...>
Date: Tue, 3 Mar 2015 11:55:58 +0900 (JST)
Subject: [ruby-changes:37734] nobu:r49815 (trunk): .travis.yml: install missing library

nobu	2015-03-03 11:55:53 +0900 (Tue, 03 Mar 2015)

  New Revision: 49815

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49815

  Log:
    .travis.yml: install missing library
    
    * .travis.yml (before_install): install gdbm too.
    
    * .travis.yml (script): test options should be in TESTOPTS.

  Modified files:
    trunk/.travis.yml
Index: .travis.yml
===================================================================
--- .travis.yml	(revision 49814)
+++ .travis.yml	(revision 49815)
@@ -37,7 +37,8 @@ before_install: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L37
   - "if [[ $TRAVIS_OS_NAME = 'linux' ]]; then sudo apt-get -qq update; fi"
   - "if [[ $TRAVIS_OS_NAME = 'linux' ]]; then sudo apt-get -qq install $CC; fi" # upgrade if any
   - "if [[ $TRAVIS_OS_NAME = 'linux' ]]; then JOBS='-j'; fi"
-  - "if [[ $TRAVIS_OS_NAME = 'osx' ]]; then brew install autoconf openssl; fi"
+  - "if [[ $TRAVIS_OS_NAME = 'osx' ]]; then brew install autoconf gdbm openssl; fi"
+  - "if [[ $TRAVIS_OS_NAME = 'osx' ]]; then GDBM_FLAG=\"--with-gdbm-dir=`brew --prefix gdbm`\"; fi"
   - "if [[ $TRAVIS_OS_NAME = 'osx' ]]; then OPENSSL_FLAG=\"--with-openssl-dir=`brew --prefix openssl`\"; fi"
   - "if [[ $TRAVIS_OS_NAME = 'osx' && $CC = 'gcc' ]]; then CC='gcc-4.9'; fi"
 install: "if [[ $TRAVIS_OS_NAME = 'linux' ]]; then sudo apt-get -qq build-dep ruby1.9.1 2>/dev/null; fi"
@@ -64,7 +65,7 @@ before_script: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L65
   - "if [[ $TRAVIS_OS_NAME = 'osx' ]]; then echo 'exclude :test_deadlock_by_signal_at_forking, \"under investigation\"' >> test/excludes/TestProcess.rb; fi"
 script:
   - "make test"
-  - "make test-all TESTS='-q -j2'"
+  - "make test-all TESTOPTS='-q -j2'"
   - "make test-rubyspec"
 after_failure:
   - "if [[ $TRAVIS_OS_NAME = 'osx' ]]; then find ~/Library/Logs/DiagnosticReports -type f -name ruby_\\*.crash -ls -execdir cat {} \\; -delete; fi"

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]