-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* validate ci logs outside docker container. See #45 for details * added missing travisci CI script
- Loading branch information
1 parent
d001abb
commit 893f504
Showing
2 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/sh | ||
|
||
echo "Starting docker container ..." | ||
|
||
docker run -v $PWD:/opt/dash dash/testing /bin/sh -c "export DASH_MAX_UNITS='2'; sh dash/scripts/dash-ci.sh | grep -v 'LOG =' | tee dash-ci.log 2> dash-ci.err;" | ||
|
||
echo "checking logs" | ||
|
||
cat $PWD/dash-ci.log | grep "FAILED" | ||
if [ "$?" -eq "0" ]; then | ||
echo "Log contains errors" | ||
return 1 | ||
fi |