rabl
rabl copied to clipboard
Travis tests giving false positives.
I'm looking at the Travis build results for this gem and it appears to be giving false positives. It's not actually running any of the tests...
https://travis-ci.org/nesquena/rabl/jobs/48380303
Using worker: worker-linux-9-2.bb.travis-ci.org:travis-linux-14
system_info
Build system information
Build language: ruby
Build image provisioning date and time
Sat Dec 13 04:56:50 UTC 2014
lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise
Cookbooks Version
4f2272c https://github.com/travis-ci/travis-cookbooks/tree/4f2272c
GCC version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
LLVM version
clang version 3.4 (tags/RELEASE_34/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
Pre-installed Ruby versions
ruby-1.9.3-p551
Pre-installed Node.js versions
v0.10.33
Pre-installed Go versions
go1.4
Redis version
redis-server 2.8.18
riak version
1.4.12
MongoDB version
MongoDB 2.4.12
CouchDB version
couchdb 1.6.1
Neo4j version
1.9.4
Cassandra version
2.0.9
RabbitMQ Version
3.4.2
ElasticSearch version
1.4.0
Installed Sphinx versions
2.0.10
2.1.9
2.2.4
Default Sphinx version
2.1.9
Installed Firefox version
firefox 31.0esr
PhantomJS version
1.9.8
ant -version
Apache Ant(TM) version 1.8.2 compiled on December 3 2011
mvn -version
Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-11T20:58:10+00:00)
Maven home: /usr/local/maven
Java version: 1.7.0_72, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-042stab090.5", arch: "amd64", family: "unix"
git.checkout
0.26s$ git clone --depth=50 --branch=v0.11.6 git://github.com/nesquena/rabl.git nesquena/rabl
Cloning into 'nesquena/rabl'...
remote: Counting objects: 1026, done.
remote: Compressing objects: 100% (654/654), done.
remote: Total 1026 (delta 446), reused 868 (delta 321)
Receiving objects: 100% (1026/1026), 224.86 KiB | 0 bytes/s, done.
Resolving deltas: 100% (446/446), done.
Checking connectivity... done.
Note: checking out '4e477652dbf8d756353f519e026fe50486fec6aa'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
$ cd nesquena/rabl
$ git checkout -qf 4e477652dbf8d756353f519e026fe50486fec6aa
rvm
0.53s$ rvm use 2.2 --install --binary --fuzzy
Using /home/travis/.rvm/gems/ruby-2.2.0
$ export BUNDLE_GEMFILE=$PWD/Gemfile.ci
$ ruby --version
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]
$ rvm --version
rvm 1.26.8 (latest-minor) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
$ bundle --version
Bundler version 1.7.9
$ gem --version
2.4.5
install.bundler
22.77s$ bundle install --jobs=3 --retry=3
Your Gemfile lists the gem rake (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Using rake 10.4.2
Installing i18n 0.7.0
Installing minitest 5.5.1
Installing thread_safe 0.3.4
Installing bson 1.7.1
Installing builder 3.2.2
Installing json 1.8.2
Installing msgpack 0.4.7
Installing plist 3.1.0
Installing rr 1.0.5
Installing tilt 2.0.1
Using bundler 1.7.9
Installing tzinfo 1.2.2
Installing riot 0.12.7
Installing activesupport 4.2.0
Using rabl 0.11.6 from source at .
Installing oj 2.11.4
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
1.98s$ bundle exec rake
Your Gemfile lists the gem rake (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
/home/travis/.rvm/rubies/ruby-2.2.0/bin/ruby -w -I"lib:lib:test" -rubygems "/home/travis/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rake/rake_test_loader.rb" "test/*_test.rb"
/home/travis/.rvm/gems/ruby-2.2.0@global/gems/bundler-1.7.9/lib/bundler/source/rubygems.rb:191: warning: shadowing outer local variable - spec
/home/travis/build/nesquena/rabl/test/teststrap.rb:21:in `require': cannot load such file -- hashie (LoadError)
from /home/travis/build/nesquena/rabl/test/teststrap.rb:21:in `block in <top (required)>'
from /home/travis/build/nesquena/rabl/test/teststrap.rb:5:in `block in silence_warnings'
from /home/travis/build/nesquena/rabl/test/teststrap.rb:10:in `with_warnings'
from /home/travis/build/nesquena/rabl/test/teststrap.rb:5:in `silence_warnings'
from /home/travis/build/nesquena/rabl/test/teststrap.rb:16:in `<top (required)>'
from /home/travis/build/nesquena/rabl/test/bson_engine_test.rb:1:in `require'
from /home/travis/build/nesquena/rabl/test/bson_engine_test.rb:1:in `<top (required)>'
from /home/travis/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rake/rake_test_loader.rb:10:in `require'
from /home/travis/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
from /home/travis/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rake/rake_test_loader.rb:9:in `each'
from /home/travis/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rake/rake_test_loader.rb:9:in `block in <main>'
from /home/travis/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rake/rake_test_loader.rb:4:in `select'
from /home/travis/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rake/rake_test_loader.rb:4:in `<main>'
The command "bundle exec rake" exited with 0.
Done. Your build exited with 0.