/
.travis.yml
58 lines (51 loc) · 1.19 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
57
58
os: linux
dist: focal
language: ruby
rvm:
- 2.4.10
- 2.5.9
- 2.6.7
- 2.7.3
- 3.0.1
- ruby-head
addons:
chrome: stable
gemfile:
- gemfiles/csv_15.0.gemfile
- gemfiles/csv_16.0.gemfile
- gemfiles/csv_17.0.gemfile
- gemfiles/csv_18.0.gemfile
- gemfiles/csv_edge.gemfile
cache:
bundler: true
directories:
- node_modules
yarn: true
before_install:
- nvm install 12
- node -v
- npm i -g yarn@^1.21.1
- yarn
- LATEST_CHROMEDRIVER_VERSION=`curl -s "https://chromedriver.storage.googleapis.com/LATEST_RELEASE"`
- curl "https://chromedriver.storage.googleapis.com/${LATEST_CHROMEDRIVER_VERSION}/chromedriver_linux64.zip" -O
- unzip chromedriver_linux64.zip -d ~/bin
jobs:
allow_failures:
- rvm: ruby-head
- gemfile: gemfiles/csv_edge.gemfile
include:
- rvm: 2.4.10
gemfile: Gemfile
script: bundle exec rake rubocop
name: RuboCop
exclude:
- rvm: 3.0.1
gemfile: gemfiles/csv_15.0.gemfile
- rvm: 3.0.1
gemfile: gemfiles/csv_16.0.gemfile
- rvm: ruby-head
gemfile: gemfiles/csv_15.0.gemfile
- rvm: ruby-head
gemfile: gemfiles/csv_16.0.gemfile
fast_finish: true
script: bundle exec rake test:ruby test:js