Skip to content

Instantly share code, notes, and snippets.

💭
🤦‍♂️

Josh Kalderimis joshk

View GitHub Profile
View gist:e55d2b25ab1fad6150ff
#travis.yml
language: ruby
rvm: 2.0.0
addons:
postgresql: "9.3"
cache: bundler
View keybase.md

Keybase proof

I hereby claim:

  • I am joshk on github.
  • I am joshk (https://keybase.io/joshk) on keybase.
  • I have a public key whose fingerprint is D385 B708 3468 71EC 11C5 604C DBC6 767D 5A6F 8206

To claim this, I am signing this object:

@joshk
joshk / content-travis
Last active Dec 24, 2015 — forked from lorgio/content-travis
we export DISPLAY, no need to use export, we already export RAILS_ENV, use --deployment
View content-travis
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'
View gist:6084102
language: java
jdk: openjdk7
before_install:
- gem update --system
- gem install compass
script: mvn -q clean package
@joshk
joshk / doc.md
Created Jul 26, 2012 — forked from mrb/doc.md
Building Go on Travis with test deps
View doc.md

Go on Travis

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.

View Rakefile
# 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
View gist:1033596
#
# 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
#
View gist:1020429
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)
View gist:1019704
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)'
View gist:1019661
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)'
You can’t perform that action at this time.