Skip to content

Commit

Permalink
new: pkg: adds a simple running test on the current repository.
Browse files Browse the repository at this point in the history
  • Loading branch information
vaab committed Jun 8, 2015
1 parent adbd14d commit 904faaf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Expand Up @@ -9,16 +9,17 @@ install:
- pip install coverage coveralls
- if [ -e requirements.txt ]; then pip install -r requirements.txt; fi
script:
- ## checking that we can actually install it
## checking that we can actually install it
- python setup.py install
- python setup.py develop easy_install "$(./autogen.sh --get-name)[test]" ## getting deps
- python setup.py develop --uninstall ## removing stuff that breaks the following checks
- ## checking pip installability
## checking pip installability
- git fetch --unshallow ; pip install git+file://$PWD
- git reset --hard HEAD ; git clean -d -f ; python setup.py sdist --formats=gztar && pip install "dist/$(./autogen.sh --get-name)-$(./autogen.sh --get-version | tr "_" "-").tar.gz" --upgrade
- python -c "import $(./autogen.sh --get-name)"
- pip uninstall -y "$(./autogen.sh --get-name)"
- ## real tests
## real tests
- gitchangelog
- nosetests .
after_success:
- coveralls

0 comments on commit 904faaf

Please sign in to comment.