by shigemk2

当面は技術的なことしか書かない

マナりつリーダーのTravisが落ちた

原因不明。
Rakefileの3行目に問題があるみたいだけど、
書き方は他のRubyMotionのリポジトリと同じだし…

Using worker: worker-linux-2-2.bb.travis-ci.org:travis-linux-12
git.1
$ git clone --depth=50 --branch=master git://github.com/shigemk2/PixivManaRitsu.git shigemk2/PixivManaRitsu
Cloning into 'shigemk2/PixivManaRitsu'...
remote: Counting objects: 40, done.
remote: Compressing objects: 100% (28/28), done.
remote: Total 40 (delta 15), reused 35 (delta 10)
Receiving objects: 100% (40/40), 114.56 KiB | 0 bytes/s, done.
Resolving deltas: 100% (15/15), done.
$ cd shigemk2/PixivManaRitsu
git.2
$ git checkout -qf d91eb3fb91f95ccd5a5d8ce6c6803e72c69d3005
$ rvm use default --install --binary --fuzzy
Using /home/travis/.rvm/gems/ruby-1.9.3-p448
$ ruby --version
ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-linux]
$ rvm --version
rvm 1.21.3 (latest-minor) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
announce
$ xcodebuild -version -sdk
/home/travis/build.sh: line 126: xcodebuild: command not found
$ motion --version
/home/travis/build.sh: line 130: motion: command not found
before_install
$ ruby --version
ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-linux]
install.bundler
$ bundle install
Fetching gem metadata from https://rubygems.org/..........
Fetching gem metadata from https://rubygems.org/..
Using rake (10.1.0) 
Installing bubble-wrap (1.3.0) 
Installing coderay (1.0.9) 
Installing ffi (1.9.0) 
Installing formatador (0.2.4) 
Installing growl (1.0.3) 
Installing rb-fsevent (0.9.3) 
Installing rb-inotify (0.9.2) 
Installing rb-kqueue (0.2.0) 
Installing listen (1.3.1) 
Installing lumberjack (1.0.4) 
Installing method_source (0.8.2) 
Installing slop (3.4.6) 
Installing pry (0.9.12.2) 
Installing thor (0.18.1) 
Installing guard (1.8.3) 
Installing guard-motion (0.1.2) 
Installing motion-redgreen (0.1.0) 
Using bundler (1.3.5) 
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
$ bundle exec rake spec
rake aborted!
cannot load such file -- motion/project/template/ios
/home/travis/build/shigemk2/PixivManaRitsu/Rakefile:3:in `require'
/home/travis/build/shigemk2/PixivManaRitsu/Rakefile:3:in `<top (required)>'
/home/travis/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in `eval'
/home/travis/.rvm/gems/ruby-1.9.3-p448/bin/ruby_noexec_wrapper:14:in `<main>'
(See full trace by running task with --trace)
The command "bundle exec rake spec" exited with 1.
Done. Your build exited with 1.
# -*- coding: utf-8 -*-
$:.unshift("/Library/RubyMotion/lib")
require 'motion/project/template/ios'
require 'bundler'
require 'csv'

is_test = ARGV.join(' ') =~ /spec/
if is_test
  require 'guard/motion'
  Bundler.require :default, :spec
else
  Bundler.require
end

Motion::Project::App.setup do |app|
  app.name = 'PixivManaRitsu'
  if is_test
    app.redgreen_style = :full
  end
end

require 'csv'とかやったのが原因なのか。
使ってないから。
と思ったけど、この記述があってもビルドは通るし…