forked from wjordan/image_optim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (37 loc) · 970 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
36
37
sudo: false
language: ruby
cache:
bundler: true
directories:
- $(npm root)
- ~/bin
rvm:
- '1.8'
- '1.9'
- '2.0'
- '2.1'
- '2.2'
- jruby-19mode
- ree
script:
- bundle exec image_optim --info
- bundle exec rspec
before_install:
- mkdir -p ~/bin
- command -v svgo || npm install svgo
- 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'
matrix:
include:
- env: CODECLIMATE=✓
rvm: '2'
after_success: bundle exec codeclimate-test-reporter
- env: RUBOCOP=✓
rvm: '2'
script: bundle exec rubocop
before_install:
allow_failures:
- rvm: jruby-19mode
addons:
code_climate:
repo_token:
secure: FDikT3JnOJHOAFSaKwVPB1VOphU0sSzAnzQ+YjSt9XFE+9uFQHth/j4rFoVoqALhCj+47trv6spwkbcSjGCVzm+87OI80GkLCCzNjDOz2W4sP9JWItVgS1VoWW+ioPxpLgpguTb3wutwKOUMEAf+40EX657ZiHumM7nNHrF+RCU=