25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #!/bin/bash
- echo "running format validation..."
- ./validate_format.rb ../README.md
- if [[ $? != 0 ]]; then
- echo "format validation failed!"
- exit 1
- else
- echo "format validation passed!"
- fi
-
- if [ "$TRAVIS_BRANCH" == "master" ]; then
- echo "running link validation..."
- ./validate_links.rb ../README.md
- if [[ $? != 0 ]]; then
- echo "link validation failed!"
- exit 1
- else
- echo "link validation passed!"
- fi
- fi
|