File tree Expand file tree Collapse file tree 1 file changed +14
-27
lines changed Expand file tree Collapse file tree 1 file changed +14
-27
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ language: ruby
3
3
cache :
4
4
bundler : true
5
5
directories :
6
- - $(npm root)
7
- - ~/bin
6
+ - $(npm root)
7
+ - ~/bin
8
8
rvm :
9
9
- ' 1.8'
10
10
- ' 1.9'
13
13
- ' 2.2'
14
14
- jruby-19mode
15
15
- ree
16
- script : |
17
- (
18
- set -ex
19
- if [ -n "$RUBOCOP" ]; then
20
- bundle exec rubocop
21
- else
22
- bundle exec image_optim --info
23
- bundle exec rspec
24
- fi
25
- )
26
- before_install : |
27
- (
28
- set -ex
29
- if [ -z "$RUBOCOP" ]; then
30
- command -v svgo || npm install svgo
31
- command -v pngout || {
32
- mkdir -p ~/bin
33
- curl -L "http://static.jonof.id.au/dl/kenutils/pngout-20130221-linux.tar.gz" | tar -xz -C ~/bin --strip-components 2 --wildcards '*/x86_64/pngout'
34
- }
35
- fi
36
- )
37
- after_success :
38
- - if [ -n "$CODECLIMATE" ]; then bundle exec codeclimate-test-reporter; fi
16
+ script :
17
+ - bundle exec image_optim --info
18
+ - bundle exec rspec
19
+ before_install :
20
+ - mkdir -p ~/bin
21
+ - command -v svgo || npm install svgo
22
+ - command -v pngout || curl -L "http://static.jonof.id.au/dl/kenutils/pngout-20130221-linux.tar.gz" | tar -xz -C ~/bin --strip-components 2 --wildcards '*/x86_64/pngout'
39
23
matrix :
40
24
include :
41
- - env : CODECLIMATE=true
25
+ - env : CODECLIMATE=✓
42
26
rvm : ' 2'
43
- - env : RUBOCOP=true
27
+ after_success : bundle exec codeclimate-test-reporter
28
+ - env : RUBOCOP=✓
44
29
rvm : ' 2'
30
+ script : bundle exec rubocop
31
+ before_install :
45
32
allow_failures :
46
33
- rvm : jruby-19mode
47
34
addons :
You can’t perform that action at this time.
0 commit comments