69 Commits

Author SHA1 Message Date
Mattia
5bbf4eb3ef
CI: Send CodeClimate test reports, deploy to RubyGems on tagging (#900) 2019-03-01 14:30:19 +00:00
Mattia
6634449ca0
Limits Travis builds to PRs and pushes/merges against master and 0.1x branches. (#879)
This should fix the double-build on all PRs.
2019-02-26 12:35:17 +00:00
Olle Jonsson
281e3f4add
CI: Latest RuboCop run as Travis CI Stage (#873)
- disable the not-always recent CodeClimate RuboCop plugin
2019-02-25 23:24:26 +01:00
Olle Jonsson
0e07aaee76 Travis: Drop old setting sudo: false (#840) 2018-12-29 16:00:00 +00:00
Olle Jonsson
dad29566dc Travis: Include Ruby 2.6 (#838) 2018-12-28 21:04:49 +00:00
Mattia
f1b2657523
Feature/#762 rspec (#832) 2018-11-26 17:11:35 +00:00
Olle Jonsson
3ff3dbc43e [1.0] Travis CI matrix: Drop 2.2: 2.3+ new min version required (#828) 2018-10-19 11:13:53 +01:00
iMacTia
afe53e9020 Merge branch 'master' of https://github.com/lostisland/faraday into 1.0
# Conflicts:
#	.travis.yml
#	lib/faraday/options.rb
2018-09-21 09:29:29 +01:00
Bart
e306bd6d6b Add support for Ruby 2.6 Net::HTTP write_timeout (#824) 2018-09-19 16:09:42 +01:00
Mattia Giuffrida
f2e0e22442 Merge branch 'master' of https://github.com/lostisland/faraday into 1.0
# Conflicts:
#	.travis.yml
2018-01-21 09:44:34 +00:00
iMacTia
7c1c1caecb Fixes an issue with Travis deployment to Rubygems 2018-01-19 18:06:55 +00:00
Joseph Page
8635eaf69f Adds Ruby 2.5 and switch to Trusty dist on Travis (#756) 2018-01-08 16:22:55 +00:00
Mattia
69932412cb
Fix min ruby to 2.2 Removes jruby and rbx. (#744) 2017-11-17 15:07:03 +00:00
Mattia Giuffrida
7acc82b6a5 Asks Travis to use Ubuntu Precise 2017-10-30 09:02:58 +00:00
Olle Jonsson
f8892b1301 Adapter support for Net::HTTP::Persistent v3.0.0 (#619) 2017-07-28 15:25:59 +01:00
Christian
8049a5feb2 Do not use :insecure option by default in Patron (#691)
* Do not use :insecure option by default in Patron

The session.insecure option is set to true by default. This disables
the ssl verification of the host and, according to the Patron
documentation, one should "think twice before using this option".

See also
http://www.rubydoc.info/gems/patron/0.8.0/Patron%2FSession%3Ainsecure

* Add ca-certificates package to travis.yml

Inspired by https://github.com/travis-ci/travis-ci/issues/6142

* Support ssl-verify and ca-file option for Patron
2017-05-11 16:48:05 +01:00
Dominic Cleal
86f3092b93 Fix duplicate gem publishing via Travis CI (#680)
Restrict gem publishing to the Ruby 2.4.0 + SSL matrix job.

Per https://github.com/rubygems/rubygems.org/issues/1551#issuecomment-290924620
2017-04-02 11:17:57 +02:00
Mattia
f58f251051 Ruby 2.4.0 and Minitest 6 support (#644)
* Add Ruby 2.4 to Travis matrix

* test against ruby 2.4.0-rc1

* use `Integer` in place of `Fixnum` to be ruby-2.4 compliant
use `assert_nil` in place of `assert_equal nil` to be MiniTest 6 compliant

* use ruby 2.4.0 final release on travis matrix
2017-01-13 11:35:33 +00:00
Mislav Marohnić
4841852afd Auto-publish to RubyGems after tagged version passed CI 2016-11-10 15:09:12 +01:00
Leon Miller-Out
a712938071 Fix Ruby 1.9.3 tests on Travis. Drop support for Ruby 1.8.7. (#600)
* Drop support for Ruby 1.9.2, which no-one should be using any more.

* Constraint gem versions for Ruby 1.9.3

* Drop support for Ruby 1.8.7. Many dependencies have dropped support for it.

* Remove conditionals checking for Ruby 1.8.7

* Document Ruby version dependency
2016-08-26 21:45:28 +01:00
Mike Boone
360b79e8ee Test against Ruby 2.3.1. 2016-05-11 10:20:30 -04:00
Mislav Marohnić
94c2dae1e7 Merge branch 'cleanup-rakefile'
Closes #519
2015-10-02 17:51:56 +02:00
Mislav Marohnić
541eb49889 No need for S3 caching setup anymore 2015-10-02 17:51:20 +02:00
Mislav Marohnić
6c0a03419c Remove unnecessary setup 2015-10-02 17:31:20 +02:00
Mislav Marohnić
761930f3ae Opt in to new Travis container-based architecture 2015-02-03 22:24:09 -08:00
Rahul Horé
280f08a3b2 Test against Ruby 2.2 and JRuby 2.0/2.1 modes
Allows jruby-XYmode failures
2015-02-03 21:35:55 -08:00
Erik Michaels-Ober
b88c4846fa Don't require SimpleCov on Ruby 1.8 2014-07-22 07:07:24 +02:00
Erik Michaels-Ober
07c30a20b9 Update Travis settings for Rubinius
/cc @brixen
2014-02-12 12:41:36 +01:00
Mislav Marohnić
03d92dd203 Cache Bundler dependencies on Travis CI
- Even after the cache is restored, `bundle install` still needs to hit
  RubyGems.org because there is no Gemfile.lock. There doesn't seem to
  be a way to tell it that everything it needs is right there in the
  `./bundle` directory.

- Can't use `--standalone` due to bundler/bundler#2851

- It's not necessary to manually update RubyGems and Bundler anymore.
2014-02-11 12:12:29 +01:00
Mislav Marohnić
220b6dc02e Allow jruby-XYmode failures on Travis due to RVM bug
travis-ci/travis-ci#1948
2014-02-10 16:19:33 +01:00
Erik Michaels-Ober
93164c9c9e Remove non-existant JRuby modes 2013-12-31 17:23:08 +01:00
Erik Michaels-Ober
026edcac09 Add temporary workaround for failing build on Ruby 1.8.7
Rubygems broke builds on Ruby 1.8.7:

https://github.com/travis-ci/travis-ci/issues/1793
https://github.com/rubygems/rubygems/pull/763

This patch is a temporary workaround until rubygems is updated.
2013-12-30 17:20:37 +01:00
Erik Michaels-Ober
48d9304780 Ensure latest bundler version is installed 2013-12-30 13:23:06 +01:00
Erik Michaels-Ober
816ff76d11 Add support for Ruby 2.1.0 2013-12-26 19:43:01 -05:00
Erik Michaels-Ober
66d5678ad6 Test against Rubinius 2 and JRuby in different modes 2013-12-25 15:29:44 -05:00
Erik Michaels-Ober
09202e298a Enable fast finishing builds 2013-11-29 09:26:25 +01:00
Erik Michaels-Ober
e5a3cc6caa Lock mime-types to ~> 1.25 on Ruby 1.8 2013-11-08 16:32:38 -05:00
Mislav Marohnić
605dd37e32 ignore Rubinius crashes
I cannot figure it out; I give up
2013-07-27 00:29:45 +02:00
Mislav Marohnić
c2adfbf918 rewrite test script in bash
The HTTP server is now started in a subprocess, not a thread. Running it
in a Ruby thread had all sorts of problems on different Rubies, such as
random failures on Rubinius.

The new script also avoids starting the HTTP server if not needed, e.g.
if filtering arguments have been used to select only the non-adapter tests.

The script dumps the server log to stdout if any tests failed on Travis.

Avoids auto-starting the debugger because it blocks for input in Rubinius
https://travis-ci.org/lostisland/faraday/jobs/5956815
2013-04-04 01:33:36 +02:00
Mislav Marohnić
8775c07495 stop tolerating Ruby 2.0 failures on Travis CI 2013-02-25 03:02:45 +01:00
Erik Michaels-Ober
75ab43c2ea Move development dependencies into Gemfile 2013-02-14 09:11:28 -08:00
Erik Michaels-Ober
31e7fae0bd Test against Ruby 2.0.0 2013-01-26 00:25:59 -08:00
Erik Michaels-Ober
0185e4e304 EventMachine stopped compiling on Rubinius 2012-12-16 19:28:15 -08:00
Mislav Marohnić
9619f80341 tolerate JRuby 1.9 + SSL crashes, too 2012-08-16 19:04:01 +02:00
Mislav Marohnić
9abe1ffbbd tolerate rbx 1.9 crashes for SSL tests 2012-08-16 18:49:13 +02:00
Mislav Marohnić
9b3923f62c move WEBrick SSL config to script/test 2012-08-16 18:21:00 +02:00
Mislav Marohnić
b3e727619b script/test now has fixed shebang 2012-08-15 19:39:58 +02:00
Mislav Marohnić
e6787c144b script/test spins up test server, runs test suite 2012-06-19 11:15:11 +02:00
Erik Michaels-Ober
bb69f7b927 Allow CI failures of MRI 2.0 2012-04-24 04:14:42 -07:00
Erik Michaels-Ober
479940d62c Test against MRI 2.0 2012-04-24 02:22:18 -07:00