Skip to content

Commit

Permalink
Fix travis docs script issue parsa-epfl#210. (parsa-epfl#211)
Browse files Browse the repository at this point in the history
* Fixes travis script to return failure if it does not spell-check. Adds a line to update package repo before the install.
  • Loading branch information
Hnefi authored and neo-apz committed Feb 1, 2019
1 parent 85057d7 commit 2858905
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/travis/docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ then
echo "Modified doc files found"
# If .md files have been modified, we run a spellcheck
# Install aspell (tool used for Spellcheck)
sudo apt-get install -y aspell-en
sudo apt update
sudo apt install -y aspell-en
# Test if installation was successful
result=$?
if [ $result -eq "0" ]
Expand Down Expand Up @@ -83,6 +84,7 @@ then
fi
else
echo "Installation of Aspell Failed : No updates performed."
return 1
fi
else
echo "No modifications to Doc files"
Expand Down

0 comments on commit 2858905

Please sign in to comment.