Sha256: 7540ac90e8ac4d04ac4dae3cff4ef7c571c131eddc383e0d346aacda441ba7cf

Contents?: true

Size: 1.82 KB

Versions: 8

Compression:

Stored size: 1.82 KB

Contents

language: ruby
cache: bundler
rvm:
  - 2.3.7

env:
  global:
    # https://github.com/discourse/discourse/blob/master/.travis.yml
    - RUBY_GC_MALLOC_LIMIT=50000000
  matrix:
    - AR_VERSION=3.2
    - AR_VERSION=4.0
    - AR_VERSION=4.1
    - AR_VERSION=4.2
    - AR_VERSION=5.0
    - AR_VERSION=5.1
    - AR_VERSION=5.2

matrix:
  include:
    - rvm: jruby-9.1.14.0
      env: AR_VERSION=4.2

      script:
        - bundle exec rake test:jdbcsqlite3
        - bundle exec rake test:jdbcmysql
        - bundle exec rake test:jdbcpostgresql

  fast_finish: true

addons:
  postgresql: "9.5"
  apt:
    sources:
      - travis-ci/sqlite3
      - mysql-5.7-trusty
    packages:
      - sqlite3
      - mysql-server
      - mysql-client
      - postgresql-9.5-postgis-2.3

before_install:
  - gem update --system
  - sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
  - sudo mysql_upgrade
  - sudo service mysql restart

before_script:
  - mysql -e 'create database activerecord_import_test;'
  - psql -c 'create database activerecord_import_test;' -U postgres
  - psql activerecord_import_test -c 'create extension if not exists hstore;' -U postgres
  - psql -c 'create extension if not exists postgis;' -U postgres
  - psql -c 'create extension if not exists "uuid-ossp";' -U postgres
  - cp test/travis/database.yml test/database.yml

script:
  - bundle exec rake test:mysql2
  - bundle exec rake test:mysql2_makara
  - bundle exec rake test:mysql2spatial
  - bundle exec rake test:postgis
  - bundle exec rake test:postgresql
  - bundle exec rake test:postgresql_makara
  - bundle exec rake test:seamless_database_pool
  - bundle exec rake test:spatialite
  - bundle exec rake test:sqlite3
  - bundle exec rubocop

dist: trusty

sudo: required

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
activerecord-import-1.0.1 .travis.yml
activerecord-import-1.0.0 .travis.yml
activerecord-import-0.28.2 .travis.yml
activerecord-import-0.28.1 .travis.yml
activerecord-import-0.28.0 .travis.yml
activerecord-import-0.27.0 .travis.yml
activerecord-import-0.26.0 .travis.yml
activerecord-import-0.25.0 .travis.yml