fail the whole script when nuget fails

This commit is contained in:
Matthias Mailänder
2014-12-31 11:04:24 +01:00
parent aa325eda36
commit 2791ac7491

View File

@@ -1,4 +1,8 @@
#!/bin/bash
# Die on any error for Travis CI to automatically retry:
set -e
if [ ! -f StyleCop.dll ]; then
echo "Fetching StyleCop files from nuget"
nuget install StyleCop.MSBuild -Version 4.7.49.0