Skip to content

Instantly share code, notes, and snippets.

View tomav's full-sized avatar

Thomas VIAL tomav

View GitHub Profile
@tomav
tomav / gist:eb440cdadf2f831ac826
Created October 25, 2015 15:29
Docker remove untagged images under Mac OSX
docker rmi $(docker images | grep "^<none>" | grep -o '[a-f0-9]\{12\}')
@tomav
tomav / travis_ci_hlds_log_parser.log
Last active December 20, 2015 21:29
hlds_log_parser RSpec testing in Travis CI. No failure, but command failed? Why?
➜ hlds_log_parser git:(master) ✗ rake
/home/vagrant/.rbenv/versions/1.9.3-p448/bin/ruby -S rspec ./spec/client_spec.rb ./spec/displayer_spec.rb ./spec/handler_spec.rb ./spec/helper_spec.rb
[...]
Finished in 1.75 seconds
19 examples, 0 failures
Coverage report generated for RSpec to /home/travis/build/tomav/hlds_log_parser/coverage. 71 / 71 LOC (100.0%) covered.
/home/travis/.rvm/rubies/ruby-1.9.3-p448/bin/ruby -S rspec ./spec/client_spec.rb ./spec/displayer_spec.rb ./spec/handler_spec.rb ./spec/helper_spec.rb failed
The command "bundle exec rake" exited with 1.