File: .travis.yml

package info (click to toggle)
ruby-activerecord-import 0.15.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 556 kB
  • ctags: 160
  • sloc: ruby: 2,648; makefile: 3
file content (52 lines) | stat: -rw-r--r-- 1,197 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
language: ruby
cache: bundler
rvm:
  - 2.2.4

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

matrix:
  include:
    - rvm: jruby-9.0.5.0
      env: AR_VERSION=4.2
      script:
        - bundle exec rake test:jdbcmysql
        - bundle exec rake test:jdbcpostgresql

  fast_finish: true

before_script:
  - mysql -e 'create database activerecord_import_test;'
  - psql -c 'create database activerecord_import_test;' -U postgres
  - psql -U postgres -c "create extension postgis"
  - cp test/travis/database.yml test/database.yml

addons:
  apt:
    sources:
      - travis-ci/sqlite3
    packages:
      - sqlite3

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

sudo: false