-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
56 lines (56 loc) · 1.37 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
branches:
only:
- master
language: ruby
sudo: required
service:
- mysql
rvm:
- 1.9.3
- 2.0.0
- 2.1.2
- 2.1
- 2.2
- ruby-head
env:
global:
- CODECLIMATE_REPO_TOKEN=0b58d4e91bfac6ed6e48b31606f6792598a3a59c27bded19d58ef8406c09f57c
matrix:
- RAILS_VERSION=3.2.22.5 PT_OSC_VERSION=LATEST
- RAILS_VERSION=3.2.22.5 PT_OSC_VERSION=DEVELOPMENT
- RAILS_VERSION=3.2.22.5 PT_OSC_VERSION=2.2.12
- RAILS_VERSION=3.2.22.5 PT_OSC_VERSION=2.2.11
- RAILS_VERSION=3.2.22.5 PT_OSC_VERSION=2.1.11
- RAILS_VERSION=4.2.10 PT_OSC_VERSION=LATEST
- RAILS_VERSION=4.2.10 PT_OSC_VERSION=DEVELOPMENT
- RAILS_VERSION=4.2.10 PT_OSC_VERSION=2.2.12
- RAILS_VERSION=4.2.10 PT_OSC_VERSION=2.2.11
- RAILS_VERSION=4.2.10 PT_OSC_VERSION=2.1.11
cache:
- bundler
- apt
before_install:
- gem update --system
- gem update bundler
bundler_args: --binstubs --retry=5
before_script:
- $TRAVIS_BUILD_DIR/test/travisci/install_pt_osc.sh
- unset RAILS_ENV
- unset RACK_ENV
- bundle exec rake db:test_create
script:
- bundle exec rake test
addons:
code_climate:
repo_token: 0b58d4e91bfac6ed6e48b31606f6792598a3a59c27bded19d58ef8406c09f57c
hosts:
- mysql
matrix:
fast_finish: true
allow_failures:
- rvm: ruby-head
- rvm: 2.2
- rvm: 1.9.3
- env: PT_OSC_VERSION=DEVELOPMENT
- env: PT_OSC_VERSION=1.0.2
- env: PT_OSC_VERSION=2.0.5