Skip to content

ci(travis): adds awesome_bot for linting *.md files #230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 2, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,30 @@ python:
- "pypy"
- "pypy3"
install: "pip install -r requirements/core.txt;pip install -r requirements/test.txt"
addons:
srcclr: true
script: "nosetests --with-coverage --cover-package=optimizely"
after_success:
- coveralls

# Linting and Integration tests need to run first to reset the PR build status to pending.
stages:
- name: 'Lint markdown files'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it just be 'Lint markdown files'?

- 'Linting'
- 'Integration tests'
- 'Benchmarking tests'
- 'Test'

jobs:
include:
- stage: 'Lint markdown files'
language: ruby
rvm: 2.4.1
os: linux
install: gem install awesome_bot
script:
- find . -type f -name '*.md' -exec awesome_bot {} \;
notifications:
email: false

- stage: 'Linting'
language: python
python: "2.7"
Expand All @@ -47,5 +56,7 @@ jobs:
stage: 'Benchmarking tests'
env: SDK=python FULLSTACK_TEST_REPO=Benchmarking SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH
- stage: 'Test'
addons:
srcclr: true
dist: xenial
python: "3.7"