Skip to content

Commit 0a6086c

Browse files
ci(travis): adds awesome_bot for linting *.md files (#230)
* ci(travis): adds awesome_bot for linting *.md files * make .travis.yml consistent
1 parent d57e068 commit 0a6086c

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
@@ -8,21 +8,30 @@ python:
88
- "pypy"
99
- "pypy3"
1010
install: "pip install -r requirements/core.txt;pip install -r requirements/test.txt"
11-
addons:
12-
srcclr: true
1311
script: "nosetests --with-coverage --cover-package=optimizely"
1412
after_success:
1513
- coveralls
1614

1715
# Linting and Integration tests need to run first to reset the PR build status to pending.
1816
stages:
17+
- 'Lint markdown files'
1918
- 'Linting'
2019
- 'Integration tests'
2120
- 'Benchmarking tests'
2221
- 'Test'
2322

2423
jobs:
2524
include:
25+
- stage: 'Lint markdown files'
26+
language: ruby
27+
rvm: 2.4.1
28+
os: linux
29+
install: gem install awesome_bot
30+
script:
31+
- find . -type f -name '*.md' -exec awesome_bot {} \;
32+
notifications:
33+
email: false
34+
2635
- stage: 'Linting'
2736
language: python
2837
python: "2.7"
@@ -47,5 +56,7 @@ jobs:
4756
stage: 'Benchmarking tests'
4857
env: SDK=python FULLSTACK_TEST_REPO=Benchmarking SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH
4958
- stage: 'Test'
59+
addons:
60+
srcclr: true
5061
dist: xenial
5162
python: "3.7"

0 commit comments

Comments
 (0)