Commit c1b906c3 authored by Dave Machado's avatar Dave Machado
Browse files

set variable for file to check

parent fe43641b
#!/bin/bash
CHECK_FILE=../README.md
echo "running format validation..."
./validate_format.rb ../README.md
./validate_format.rb $CHECK_FILE
if [[ $? != 0 ]]; then
echo "format validation failed!"
exit 1
......@@ -10,7 +11,7 @@ fi
if [ "$TRAVIS_BRANCH" == "master" ]; then
echo "running link validation..."
./validate_links.rb ../README.md
./validate_links.rb $CHECK_FILE
if [[ $? != 0 ]]; then
echo "link validation failed!"
exit 1
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment