Skip to content

Commit c656e37

Browse files
ci(travis): adds awesome_bot for linting *.md files (#351)
* ci(travis): adds awesome_bot for linting *.md files * make .travis.yml consistent
1 parent 08c4548 commit c656e37

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.travis.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ jdk:
55
- oraclejdk8
66
- oraclejdk9
77
install: true
8-
addons:
9-
srcclr: true
108
env:
119
- optimizely_default_parser=GSON_CONFIG_PARSER
1210
- optimizely_default_parser=JACKSON_CONFIG_PARSER
@@ -37,14 +35,27 @@ after_failure:
3735

3836
# Integration tests need to run first to reset the PR build status to pending
3937
stages:
38+
- 'Lint markdown files'
4039
- 'Integration tests'
4140
- 'Benchmarking tests'
4241
- 'Test'
4342

4443
jobs:
4544
include:
45+
- stage: 'Lint markdown files'
46+
language: ruby
47+
rvm: 2.4.1
48+
os: linux
49+
install: gem install awesome_bot
50+
script:
51+
- find . -type f -name '*.md' -exec awesome_bot {} \;
52+
notifications:
53+
email: false
54+
4655
- &integrationtest
4756
stage: 'Integration tests'
57+
addons:
58+
srcclr: true
4859
merge_mode: replace
4960
env: SDK=java SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH
5061
cache: false

0 commit comments

Comments
 (0)