# .travis.yml
language: ruby
cache:
  bundler: true
  apt: true
services:
  - redis-server
rvm:
  - 2.3.1
before_install:
  - gem update --system
  - gem install bundler
  - sudo apt-get update
  - sudo apt-get install -y sphinxsearch
script:
  - RAILS_ENV=test bin/rake db:drop db:create db:schema:load ts:configure
  - bin/rake nolotiro:download_maxmind_db
  - bin/rake test
before_script:
  - mysql -e 'create database nolotirov3_test;'
  - cp config/secrets.yml.example config/secrets.yml
  - cp config/database.yml.travis config/database.yml
branches:
  only:
    - master
env:
  - DATABASE=mysql2 SPHINX_BIN=/usr/bin/ SPHINX_VERSION=2.0.4

# .travis.yml
language: ruby
cache:
  bundler: true
  apt: true
services:
  - redis-server
rvm:
  - 2.3.1
before_install:
  - gem update --system
  - gem install bundler
  - sudo apt-get update
  - sudo apt-get install -y sphinxsearch
script:
  - RAILS_ENV=test bin/rake db:drop db:create db:schema:load ts:configure
  - bin/rake nolotiro:download_maxmind_db
  - bin/rake test
before_script:
  - cp config/secrets.yml.example config/secrets.yml
  - cp config/database.yml.travis config/database.yml
branches:
  only:
    - master
env:
  - DATABASE=mysql2 SPHINX_BIN=/usr/bin/ SPHINX_VERSION=2.0.4

Remove unnecessary statement in Travis setup
Remove unnecessary statement in Travis setup
