forked from Studiosity/grover
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (40 loc) · 1.1 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
env:
global:
- CC_TEST_REPORTER_ID=5cfed40102c670b5c9e509730782b751939ddbe53fc57c317b718f635bab1ce8
jobs:
- PUPPETEER_VERSION=1.20.0
- PUPPETEER_VERSION=2.1.1
- PUPPETEER_VERSION=3.3.0
- PUPPETEER_VERSION=4.0.1
- PUPPETEER_VERSION=5.5.0
- PUPPETEER_VERSION=6.0.0
- PUPPETEER_VERSION=7.1.0
- PUPPETEER_VERSION=8.0.0
- PUPPETEER_VERSION=9.1.1
- PUPPETEER_VERSION=10.2.0
rvm: 3.0
jobs:
include:
- rvm: 2.5
env: PUPPETEER_VERSION=10.2.0
- rvm: 2.6
env: PUPPETEER_VERSION=10.2.0
- rvm: 2.7
env: PUPPETEER_VERSION=10.2.0
language: ruby
before_install:
- nvm install 10
- gem update bundler
install:
- bundle install --jobs=3 --retry=3
- gem install rubocop
- npm install puppeteer@$PUPPETEER_VERSION
before_script:
- 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
script:
- bundle exec rubocop
- bundle exec rspec
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT