Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@vaab
Created May 14, 2014 05:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vaab/70de4183e95c847e31e5 to your computer and use it in GitHub Desktop.
Save vaab/70de4183e95c847e31e5 to your computer and use it in GitHub Desktop.
Travis config to use with ``autogen.sh`` file.
language: python
python:
- "3.4"
- "3.3"
- "2.7"
install: ./autogen.sh && python setup.py install && python setup.py develop easy_install "$(./autogen.sh --get-name)[test]"
script:
- nosetests $(./autogen.sh --get-name)
- 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment