forked from zdennis/activerecord-import
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
65 lines (56 loc) · 1.58 KB
/
.travis.yml
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
53
54
55
56
57
58
59
60
61
62
63
64
65
language: ruby
cache: bundler
rvm:
- 2.3.5
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
before_install:
- gem update --system
script:
- bundle exec rake test:jdbcsqlite3
- bundle exec rake test:jdbcmysql
- bundle exec rake test:jdbcpostgresql
allow_failures:
- env: AR_VERSION=5.2
fast_finish: true
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
addons:
postgresql: "9.5"
apt:
sources:
- travis-ci/sqlite3
packages:
- sqlite3
- postgresql-9.5-postgis-2.3
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