forked from toy/image_optim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
45 lines (45 loc) · 1.26 KB
/
.travis.yml
File metadata and controls
45 lines (45 loc) · 1.26 KB
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
sudo: false
language: ruby
cache:
bundler: true
directories:
- $(npm root)
- ~/bin
rvm:
- '1.8.7-p371'
- '1.9.3-p551'
- '2.0.0-p648'
- '2.1.10'
- '2.2.10'
- '2.3.7'
- '2.4.4'
- '2.5.1'
- 'jruby-9.0.5.0'
- 'jruby-9.1.9.0'
script:
- bundle exec image_optim --info
- bundle exec rspec
before_install:
- gem update --system
- gem install bundler
- nvm install stable
- mkdir -p ~/bin
- command -v svgo || npm install -g svgo
- command -v pngout || curl -L "http://static.jonof.id.au/dl/kenutils/pngout-20150319-linux.tar.gz" | tar -xz -C ~/bin --strip-components 2 --wildcards '*/x86_64/pngout'
matrix:
include:
- env: CODECLIMATE=✓
rvm: '2.4.4'
after_success: bundle exec codeclimate-test-reporter
- env: RUBOCOP=✓
rvm: '2.4.4'
script: bundle exec rubocop
before_install: gem update --system && gem install bundler
- env: CHECK_RUBIES=✓
rvm: '2.4.4'
script: bundle exec travis_check_rubies
before_install: gem update --system && gem install bundler
addons:
code_climate:
repo_token:
secure: FDikT3JnOJHOAFSaKwVPB1VOphU0sSzAnzQ+YjSt9XFE+9uFQHth/j4rFoVoqALhCj+47trv6spwkbcSjGCVzm+87OI80GkLCCzNjDOz2W4sP9JWItVgS1VoWW+ioPxpLgpguTb3wutwKOUMEAf+40EX657ZiHumM7nNHrF+RCU=