forked from RailsEventStore/rails_event_store
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
70 lines (69 loc) · 3.23 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
66
67
68
69
70
language: ruby
matrix:
include:
- rvm: 2.5.3
env: TARGET=rails_event_store SCRIPT=test RAILS_VERSION=5.2.0
- rvm: 2.5.3
env: TARGET=rails_event_store SCRIPT=test RAILS_VERSION=5.1.4
- rvm: 2.5.3
env: TARGET=rails_event_store SCRIPT=test RAILS_VERSION=5.0.6
- rvm: 2.5.3
env: TARGET=rails_event_store SCRIPT=test RAILS_VERSION=4.2.10
- rvm: 2.5.3
env: TARGET=bounded_context SCRIPT=test RAILS_VERSION=5.2.0
- rvm: 2.5.3
env: TARGET=bounded_context SCRIPT=test RAILS_VERSION=5.1.4
- rvm: 2.5.3
env: TARGET=bounded_context SCRIPT=test RAILS_VERSION=5.0.6
- rvm: 2.5.3
env: TARGET=bounded_context SCRIPT=test RAILS_VERSION=4.2.10
- rvm: 2.5.3
env: TARGET=rails_event_store-rspec SCRIPT=test RAILS_VERSION=5.2.0
- rvm: 2.5.3
env: TARGET=rails_event_store-rspec SCRIPT=test RAILS_VERSION=5.1.4
- rvm: 2.5.3
env: TARGET=rails_event_store-rspec SCRIPT=test RAILS_VERSION=5.0.6
- rvm: 2.5.3
env: TARGET=rails_event_store-rspec SCRIPT=test RAILS_VERSION=4.2.10
- rvm: 2.5.3
env: "TARGET=rails_event_store_active_record SCRIPT=test DATABASE_URL=sqlite3:db.sqlite3 RAILS_VERSION=5.2.0"
- rvm: 2.5.3
env: "TARGET=rails_event_store_active_record SCRIPT=test DATABASE_URL=sqlite3:db.sqlite3 RAILS_VERSION=5.1.4"
- rvm: 2.5.3
env: "TARGET=rails_event_store_active_record SCRIPT=test DATABASE_URL=sqlite3:db.sqlite3 RAILS_VERSION=5.0.6"
- rvm: 2.5.3
env: "TARGET=rails_event_store_active_record SCRIPT=test DATABASE_URL=sqlite3:db.sqlite3 RAILS_VERSION=4.2.10"
- rvm: 2.5.3
env: TARGET=rails_event_store_active_record SCRIPT=test DATABASE_URL=postgres://localhost/rails_event_store_active_record?pool=5
- rvm: 2.5.3
env: TARGET=rails_event_store_active_record SCRIPT=test DATABASE_URL=mysql2://root:@127.0.0.1/rails_event_store_active_record?pool=5
- rvm: 2.5.3
env: TARGET=ruby_event_store-rom SCRIPT=test DATABASE_URL=sqlite:db.sqlite3
- rvm: 2.5.3
env: TARGET=ruby_event_store-rom SCRIPT=test DATABASE_URL=postgres://localhost/rails_event_store_active_record?pool=5
- rvm: 2.5.3
env: TARGET=ruby_event_store-rom SCRIPT=test DATABASE_URL=postgres://localhost/rails_event_store_active_record?pool=5 DATA_TYPE=jsonb
- rvm: 2.5.3
env: TARGET=ruby_event_store-rom SCRIPT=test DATABASE_URL=postgres://localhost/rails_event_store_active_record?pool=5 DATA_TYPE=json
- rvm: 2.5.3
env: TARGET=ruby_event_store-rom SCRIPT=test DATABASE_URL=mysql2://root:@127.0.0.1/rails_event_store_active_record?pool=5
before_script:
- psql -c 'create extension pgcrypto;' -U postgres
- psql -c 'create database rails_event_store_active_record;' -U postgres
- mysql -e 'CREATE DATABASE rails_event_store_active_record;'
before_install:
- wget -N http://chromedriver.storage.googleapis.com/2.35/chromedriver_linux64.zip -P /tmp
- unzip /tmp/chromedriver_linux64.zip -d /tmp
- chmod +x /tmp/chromedriver
- sudo mv /tmp/chromedriver /usr/local/bin/chromedriver
gemfile: "$TARGET/Gemfile"
script: make -C $TARGET install $SCRIPT
services:
- postgresql
- mysql
addons:
postgresql: '9.6'
notifications:
slack:
secure: WSd0EBBRArJZvbubmmJ3eBrV0sVoHYNwd+FXLh+y1nkgxtgTas7Ki5xWpizkjsuouiibsQHc91wqHiGwdED2XVDN3zF5XTajg86Hejb4oxp57knbAkko5QmL6eTu7E6YfKxxw9XZJpO7HA3Wywlg8ZwJj2OzHChr3DfMepCavjc=
cache: yarn