Skip to content

Commit

Permalink
Testing: Skip py.tests from modules_test.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Jul 1, 2016
1 parent 65cbc32 commit 9685505
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions continuous_integration/travis/modules_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ fi

# Depth 1
for f in spyderlib/*.py; do
if [[ $f == *tests/test_* ]]; then
continue
fi
if [[ $f == spyderlib/pyplot.py ]]; then
continue
fi
Expand All @@ -28,6 +31,9 @@ done

# Depth 2
for f in spyderlib/*/*.py; do
if [[ $f == *tests/test_* ]]; then
continue
fi
if [[ $f == spyderlib/app/*.py ]]; then
continue
fi
Expand Down Expand Up @@ -56,6 +62,9 @@ done

# Depth 3
for f in spyderlib/*/*/*.py; do
if [[ $f == *tests/test_* ]]; then
continue
fi
if [[ $f == spyderlib/external/*/*.py ]]; then
continue
fi
Expand Down Expand Up @@ -86,6 +95,19 @@ for f in spyderlib/*/*/*.py; do
fi
done


# Depth 4
for f in spyderlib/*/*/*/*.py; do
if [[ $f == *tests/test_* ]]; then
continue
fi
python "$f"
if [ $? -ne 0 ]; then
exit 1
fi
done


# Spyderplugins
for f in spyder_*/widgets/*.py; do
python "$f"
Expand Down

0 comments on commit 9685505

Please sign in to comment.