fake-s3 icon indicating copy to clipboard operation
fake-s3 copied to clipboard

Set up CI

Open thedrow opened this issue 9 years ago • 6 comments

Please enable Travis CI and ensure it runs the tests so we'll know which Ruby versions fake-s3 supports and what problems currently exists that we need to solve.

thedrow avatar Feb 01 '16 19:02 thedrow

All tests are currently passing.

Looks like I need @jubos to take the action here in order to use CircleCI.

I will leave this open as a feature request to set up Travis/CircleCI/anything else.

pickhardt avatar Sep 08 '16 04:09 pickhardt

I tried adding .travis.yml, but not sure what is the correct configuration. The build log is in: https://travis-ci.org/mrannanj/fake-s3/builds/199987799

What Ruby version are you using to run the tests @pickhardt?

mrannanj avatar Feb 09 '17 14:02 mrannanj

I'm using Ruby 2.2.1

pickhardt avatar Feb 10 '17 22:02 pickhardt

With Ruby 2.2.1 there are still failures: https://travis-ci.org/mrannanj/fake-s3/builds/200631764

Several "RightAws::AwsError: NoSuchKey: The specified key does not exist" errors and many of aws_sdk_commands_test.rb tests are failing.

Is there something I'm missing in .travis.yml? https://github.com/mrannanj/fake-s3/blob/master/.travis.yml

mrannanj avatar Feb 11 '17 12:02 mrannanj

Changing from the implicit script "bundle exec rake" to explicitly running "rake test" caused rake not being able to find mocha, even though the logs says it's installed: https://travis-ci.org/mrannanj/fake-s3/builds/200633828

mrannanj avatar Feb 11 '17 12:02 mrannanj

Well, adding bundle exec to rake commands made it find mocha. Still 3 failures and 10 errors in https://travis-ci.org/mrannanj/fake-s3/builds/200637799

mrannanj avatar Feb 11 '17 13:02 mrannanj