Skip to content

Commit

Permalink
Merge pull request #55 from mokshaproject/stop-testing-feeds
Browse files Browse the repository at this point in the history
Stop testing moksha.feeds.
  • Loading branch information
ralphbean committed Apr 19, 2018
2 parents ff9e55e + 2b8b084 commit 0f3d9db
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 15 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ Paste*.egg
moksha/tests/quickstarts/tg2app/devdata.db-journal
*.coverage
htmldoc
*/.eggs/
10 changes: 6 additions & 4 deletions .travis-dev-setup.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#!/bin/bash -e

PACKAGES=${1:-common hub wsgi}

echo "Installing all packages in development mode"
for package in moksha.{common,hub,wsgi,feeds}; do
echo "[$package] Installing"
pushd $package
for package in $PACKAGES; do
echo "[moksha.$package] Installing"
pushd moksha.$package
python setup.py develop
popd
echo "[$package] done."
echo "[moksha.$package] done."
done
10 changes: 6 additions & 4 deletions .travis-run-tests.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#!/bin/bash -e

PACKAGES=${1:-common hub wsgi}

echo "running all tests"
for package in moksha.{common,hub,wsgi,feeds}; do
echo "[$package] running tests"
pushd $package
for package in $PACKAGES; do
echo "[moksha.$package] running tests"
pushd moksha.$package
python setup.py test
popd
echo "[$package] done with tests"
echo "[moksha.$package] done with tests"
done
15 changes: 8 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
language: python
python:
- "2.6"
- "2.7"
# Someday, soon.
# - "3.2"
install: ./.travis-dev-setup.sh
script: ./.travis-run-tests.sh
matrix:
include:
- python: 2.7
env: PACKAGES=common hub wsgi
- python: 3.6
env: PACKAGES=common hub
install: ./.travis-dev-setup.sh $PACKAGES
script: ./.travis-run-tests.sh $PACKAGES
notifications:
email: false
irc:
Expand Down

0 comments on commit 0f3d9db

Please sign in to comment.