Travis-CI is trying to figure out the best way for Go projects with test dependencies to run on their platform. The included .yml file here shows that simply running a series of "go get" commands for the external dependencies required by test files in the script
line works.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: ruby | |
rvm: 2.0.0 | |
bundler_args: --without development --quiet --path=~/.bundle --deployment | |
services: | |
- elasticsearch | |
before_install: | |
- chmod -R 777 ./script/travis | |
- 'echo ''gem: --no-ri --no-rdoc'' > ~/.gemrc' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: java | |
jdk: openjdk7 | |
before_install: | |
- gem update --system | |
- gem install compass | |
script: mvn -q clean package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
ENV['LIB_NAME'] = 'spree_reviews' | |
require 'bundler' | |
Bundler::GemHelper.install_tasks | |
Bundler.setup | |
require 'rspec/core/rake_task' | |
RSpec::Core::RakeTask.new |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# A fatal error has been detected by the Java Runtime Environment: | |
# | |
# SIGSEGV (0xb) at pc=0x00007fa1efc39a76, pid=20600, tid=140333556688640 | |
# | |
# JRE version: 6.0_24-b07 | |
# Java VM: Java HotSpot(TM) 64-Bit Server VM (19.1-b02 mixed mode linux-amd64 compressed oops) | |
# Problematic frame: | |
# j org.jruby.RubyModule.cacheHit(Ljava/lang/String;)Lorg/jruby/runtime/callsite/CacheEntry;+5 | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@vserver16:/tmp/travis/builds/travis_ci/travis-ci$ bundle install | |
Fetching source index for http://rubygems.org/ | |
Using rake (0.9.2) | |
Using Platform (0.4.0) | |
Using open4 (1.0.1) | |
Using POpen4 (0.1.4) | |
Installing SystemTimer (1.2.3) with native extensions | |
Installing abstract (1.0.0) | |
Installing activesupport (3.0.8) | |
Installing builder (2.1.2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@vserver16:/tmp/travis/builds/travis_ci/travis-ci$ bundle exec rake db:drop db:create db:migrate test --trace | |
rake aborted! | |
wrong argument type NilClass (expected Module) | |
kernel/common/native_method.rb:43:in `load_extension' | |
kernel/delta/codeloader.rb:180:in `load_library' | |
kernel/common/codeloader.rb:46:in `require' | |
kernel/common/codeloader.rb:145:in `require' | |
kernel/common/kernel.rb:781:in `require' | |
/home/vagrant/.rvm/gems/rbx-2.0.0pre/gems/json-1.4.6/lib/json/ext.rb:7:in `__module_init__ (Ext)' | |
/home/vagrant/.rvm/gems/rbx-2.0.0pre/gems/json-1.4.6/lib/json/ext.rb:6:in `__module_init__ (JSON)' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@vserver16:/tmp/travis/builds/travis_ci/travis-ci$ bundle exec rake db:drop db:create db:migrate test --trace | |
rake aborted! | |
wrong argument type NilClass (expected Module) | |
kernel/common/native_method.rb:43:in `load_extension' | |
kernel/delta/codeloader.rb:180:in `load_library' | |
kernel/common/codeloader.rb:46:in `require' | |
kernel/common/codeloader.rb:145:in `require' | |
kernel/common/kernel.rb:781:in `require' | |
/home/vagrant/.rvm/gems/rbx-2.0.0pre/gems/json-1.4.6/lib/json/ext.rb:7:in `__module_init__ (Ext)' | |
/home/vagrant/.rvm/gems/rbx-2.0.0pre/gems/json-1.4.6/lib/json/ext.rb:6:in `__module_init__ (JSON)' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module UnicornPowers | |
def fire_super_ray_beam | |
ray_beam_power | |
end | |
def ray_beam_power | |
"pow" | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'active_support/core_ext/array/wrap' | |
require 'active_support/core_ext/object/blank' | |
module ActionView | |
# = Action View Lookup Context | |
# | |
# LookupContext is the object responsible to hold all information required to lookup | |
# templates, i.e. view paths and details. The LookupContext is also responsible to | |
# generate a key, given to view paths, used in the resolver cache lookup. Since | |
# this key is generated just once during the request, it speeds up all cache accesses. |
NewerOlder