提交 3b1bd8d9 编写于 作者: A Amador Pahim

Merge pull request #1013 from ldoktor/travis

Incremental smoke-check
...@@ -27,3 +27,20 @@ script: ...@@ -27,3 +27,20 @@ script:
- python setup.py develop - python setup.py develop
- ./selftests/run - ./selftests/run
- ./selftests/check_tmp_dirs - ./selftests/check_tmp_dirs
- |
ERR=""
MASTER=$(git rev-parse origin/master)
echo Master is $MASTER
for COMMIT in $(git rev-list origin..HEAD); do
echo
echo "--------------------< $(git log -1 --oneline $COMMIT) >--------------------"
echo
echo
git checkout $COMMIT || ERR=$(echo -e "$ERR\nUnable to checkout $(git log -1 --oneline $COMMIT)")
python setup.py develop && make smokecheck || ERR=$(echo -e "$ERR\n$(git log -1 --oneline)")
done
if [ "$ERR" ]; then
echo
echo "Incremental smokecheck failed: $ERR"
exit -1
fi
...@@ -123,6 +123,9 @@ requirements: ...@@ -123,6 +123,9 @@ requirements:
requirements-selftests: requirements requirements-selftests: requirements
- grep -v '^#' requirements-selftests.txt | xargs -n 1 pip install --upgrade - grep -v '^#' requirements-selftests.txt | xargs -n 1 pip install --upgrade
smokecheck:
./scripts/avocado run passtest
check: clean check_cyclical modules_boundaries check: clean check_cyclical modules_boundaries
selftests/checkall selftests/checkall
selftests/check_tmp_dirs selftests/check_tmp_dirs
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册