Skip to content

Commit b7b450b

Browse files
ci(travis): adds awesome_bot for linting *.md files (#234)
* ci(travis): adds awesome_bot for linting *.md files * skip non-prereqs to linting mds * make .travis.yml consistent
1 parent a0c89bf commit b7b450b

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.travis.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,30 @@ install:
1515
- bundle install
1616
script: "bundle exec rake spec"
1717
before_script: "rubocop"
18-
addons:
19-
srcclr: true
2018
after_success: "coveralls"
2119

2220
# Integration tests need to run first to reset the PR build status to pending
2321
stages:
22+
- 'Lint markdown files'
2423
- 'Integration tests'
2524
- 'Benchmarking tests'
2625
- 'Test'
2726

2827
jobs:
2928
include:
29+
- stage: 'Lint markdown files'
30+
language: ruby
31+
rvm: 2.4.1
32+
os: linux
33+
before_install: skip
34+
install: gem install awesome_bot
35+
before_script: skip
36+
after_success: skip
37+
script:
38+
- find . -type f -name '*.md' -exec awesome_bot {} \;
39+
notifications:
40+
email: false
41+
3042
- &integrationtest
3143
stage: 'Integration tests'
3244
merge_mode: replace
@@ -42,4 +54,6 @@ jobs:
4254
after_success: travis_terminate 0
4355
- <<: *integrationtest
4456
stage: 'Benchmarking tests'
57+
addons:
58+
srcclr: true
4559
env: SDK=ruby FULLSTACK_TEST_REPO=Benchmarking SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH

0 commit comments

Comments
 (0)