You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
532 B

language: ruby
branches:
only:
- master
rvm:
- 1.9.3
- 2.0
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- jruby
- rbx-3
matrix:
allow_failures:
- rvm: rbx-3
- rvm: jruby
include:
- rvm: 1.8.7
dist: precise
cache: bundler
before_script:
- wget https://alg.li/algolia-keys && chmod +x algolia-keys
script:
- if [ "$TRAVIS_PULL_REQUEST" != "false" ] && [[ ! "$TRAVIS_PULL_REQUEST_SLUG" =~ ^algolia\/ ]]; then eval $(./algolia-keys export) && bundle exec rspec --tag ~maintainers_only; else bundle exec rspec; fi