-
Notifications
You must be signed in to change notification settings - Fork 242
/
.travis.yml
35 lines (35 loc) · 855 Bytes
/
.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
dist: trusty
sudo: false
cache: bundler
rvm:
- 2.5.4
- 2.6.0
addons:
chrome: stable
gemfile:
- gemfiles/rails_4.2.gemfile
- gemfiles/rails_5.0.gemfile
- gemfiles/rails_5.1.gemfile
- gemfiles/rails_5.2.gemfile
- gemfiles/rails_6.0.gemfile
- gemfiles/rails_6.1.gemfile
- gemfiles/rails_5_sprockets_4.gemfile
- gemfiles/rails_6_sprockets_4.gemfile
env:
global:
- TRAVIS=true
- TEASPOON_DEVELOPMENT=true
services:
- xvfb
before_script:
- npm install -g istanbul
- npm install -g phantomjs
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
before_install:
- gem install bundler
script:
- bundle exec rake
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT