forked from datamapper/dm-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
57 lines (46 loc) · 1.15 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
language: ruby
rvm:
- 2.0
- 2.1
- 2.2
- ruby-head
- rbx-19mode
env:
- "ADAPTER=in_memory"
- "ADAPTER=yaml"
- "ADAPTER=sqlite"
- "ADAPTER=mysql DM_DB_USER=root DM_DB_PASSWORD=''"
- "ADAPTER=postgres DM_DB_USER=postgres DM_DB_PASSWORD=''"
sudo: true
services:
- mysql
- postgresql
before_install:
- gem install bundler
- sudo apt-get update -qq
- sudo apt-get install -y postgresql-server-dev-all
before_script:
- mysql -e "create database datamapper_alternate_tests;"
- mysql -e "create database datamapper_default_tests;"
- psql -c "create database datamapper_default_tests;" -U postgres
- psql -c "create database datamapper_alternate_tests;" -U postgres
bundler_args: --without yard guard metrics benchmarks --retry 3
script: "bundle exec rake spec"
matrix:
allow_failures:
- rvm: rbx-19mode
env: "ADAPTER=yaml"
- rvm: ruby-head
include:
- rvm: jruby-19mode
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
- rvm: jruby-head
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
branches:
only:
- master
- /^release-.*$/
notifications:
irc: "irc.freenode.org#datamapper"
email: