Commit 097c834572f47da9cea404cc9a105967d1ac8de3

Authored by Andrew Kane
1 parent e323c3c6

Moved to Xenial

Showing 2 changed files with 17 additions and 14 deletions   Show diff stats
.travis.yml
1   -sudo: false
  1 +dist: xenial
2 2 language: ruby
3   -rvm: 2.5.1
  3 +rvm: 2.5.3
  4 +gemfile:
  5 + - Gemfile
4 6 services:
  7 + - postgresql
5 8 - redis-server
  9 +script: bundle exec rake test
6 10 before_install:
  11 + - gem install bundler
  12 + - psql -c 'CREATE DATABASE searchkick_test;' -U postgres || true
7 13 - ./test/ci/before_install.sh
8   -script: bundle exec rake test
9   -before_script:
10   - - psql -c 'create database searchkick_test;' -U postgres
11   -notifications:
12   - email:
13   - on_success: never
14   - on_failure: change
15 14 env:
16 15 - ELASTICSEARCH_VERSION=6.5.0
17 16 jdk: oraclejdk8
... ... @@ -26,9 +25,13 @@ matrix:
26 25 env: ELASTICSEARCH_VERSION=5.0.1
27 26 - gemfile: test/gemfiles/mongoid6.gemfile
28 27 services:
29   - - mongodb
30   - - redis-server
  28 + - mongodb
  29 + - redis-server
31 30 - gemfile: test/gemfiles/mongoid5.gemfile
32 31 services:
33   - - mongodb
34   - - redis-server
  32 + - mongodb
  33 + - redis-server
  34 +notifications:
  35 + email:
  36 + on_success: never
  37 + on_failure: change
... ...
test/language_test.rb
... ... @@ -2,7 +2,7 @@ require_relative "test_helper"
2 2  
3 3 class LanguageTest < Minitest::Test
4 4 def setup
5   - skip unless ENV["LANGUAGE"]
  5 + skip unless ENV["TEST_LANGUAGE"]
6 6  
7 7 Song.destroy_all
8 8 end
... ...