Skip to content

Commit e55a1a8

Browse files
juancarlostongjaeopt
authored andcommitted
ci(travis): add url checker for *.md (#439)
* ci(travis): add url checker for *.md * try awesome_bot * clean up old parameters from gem install slather
1 parent 1c1b215 commit e55a1a8

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.travis.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ os: linux
33

44
# Integration tests need to run first to reset the PR build status to pending
55
stages:
6+
- name: 'Lint markdown files'
67
- name: 'Integration tests'
78
- name: 'Benchmarking tests'
89
- name: 'SourceClear and Lint'
@@ -34,6 +35,16 @@ jobs:
3435
stage: 'Benchmarking tests'
3536
env: SDK=objective-c FULLSTACK_TEST_REPO=Benchmarking
3637

38+
- stage: 'Lint markdown files'
39+
language: ruby
40+
rvm: 2.4.1
41+
os: linux
42+
install: gem install awesome_bot
43+
script:
44+
- find . -type f -name '*.md' -exec awesome_bot {} \;
45+
notifications:
46+
email: false
47+
3748
- stage: 'SourceClear and Lint'
3849
language: objective-c
3950
os: osx
@@ -54,7 +65,7 @@ jobs:
5465
env: SCHEME=OptimizelySDKiOS TEST_SDK=iphonesimulator PLATFORM='iOS Simulator' OS=9.1 NAME='iPad Air'
5566
name: PLATFORM='iOS Simulator' OS=9.1 NAME='iPad Air'
5667
before_install:
57-
- gem install slather --no-rdoc --no-ri --no-document --quiet
68+
- gem install slather --no-document --quiet
5869
script:
5970
- if [[ "$TRAVIS_BRANCH" == "master" ]]; then xcodebuild test -quiet -workspace OptimizelySDK.xcworkspace -scheme $SCHEME -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk $TEST_SDK -destination "platform=$PLATFORM,OS=$OS,name=$NAME" ONLY_ACTIVE_ARCH=YES | egrep -B 10 -A 10 "(error|failed|crash|exit|FAILED|Failing|failures)"; fi
6071
after_success:

0 commit comments

Comments
 (0)