Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
vaab committed Mar 29, 2015
1 parent 4288c26 commit f70c6c7
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .travis.yml
Expand Up @@ -13,17 +13,27 @@ script:
## checking that we can actually install it

- python setup.py install
- python setup.py develop easy_install "$(./autogen.sh --get-name)[test]" ## getting deps
## XXXvlab: disabling this because it deletes ``easy-install.pth`` and breaks further tests. ON TRAVIS ONLY.
#- python setup.py develop --uninstall ## removing stuff that breaks the following checks
- python -c "import $(./autogen.sh --get-name)"
- pip uninstall -y "$(./autogen.sh --get-name)"

## checking pip installability

- git fetch --unshallow ; pip install git+file://$PWD
- python -c "import $(./autogen.sh --get-name)"
- pip uninstall -y "$(./autogen.sh --get-name)"

## checking tar.gz

- 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)"

## checking that we can take test deps (and take them)

- python setup.py develop easy_install "$(./autogen.sh --get-name)[test]" ## getting deps
## XXXvlab: disabling this because it deletes ``easy-install.pth`` and breaks further tests. ON TRAVIS ONLY.
#- python setup.py develop --uninstall ## removing stuff that breaks the following checks

## real tests

- nosetests .
Expand Down

0 comments on commit f70c6c7

Please sign in to comment.