[Pytest-commit] commit/pytest: 2 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Sat Jul 6 15:51:15 CEST 2013
2 new commits in pytest:
https://bitbucket.org/hpk42/pytest/commits/8e8ca29faf60/
Changeset: 8e8ca29faf60
Branch: travis-integration
User: bubenkoff
Date: 2013-07-06 14:23:02
Summary: add travis integration, fixes for py25 and py27 no pyc tox env
Affected #: 4 files
diff -r 9d60521c1e64ed81ba7bd40a241e7a631282cc7e -r 8e8ca29faf60b46b46c4c1ffd0808f77a80218d2 .gitignore
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,32 @@
+# Automatically generated by `hgimportsvn`
+.svn
+.hgsvn
+
+# Ignore local virtualenvs
+lib/
+bin/
+include/
+.Python/
+
+# These lines are suggested according to the svn:ignore property
+# Feel free to enable them by uncommenting them
+*.pyc
+*.pyo
+*.swp
+*.html
+*.class
+*.orig
+*~
+
+doc/*/_build
+build/
+dist/
+*.egg-info
+issue/
+env/
+3rdparty/
+.tox
+.cache
+.coverage
+.ropeproject
+
diff -r 9d60521c1e64ed81ba7bd40a241e7a631282cc7e -r 8e8ca29faf60b46b46c4c1ffd0808f77a80218d2 .travis.yml
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,10 @@
+language: python
+# command to install dependencies
+install: "pip install -e . detox"
+# # command to run tests
+script: detox --recreate
+notifications:
+ irc:
+ - "chat.freenode.net#pylib"
+ email:
+ - pytest-commit at python.org
diff -r 9d60521c1e64ed81ba7bd40a241e7a631282cc7e -r 8e8ca29faf60b46b46c4c1ffd0808f77a80218d2 README.rst
--- a/README.rst
+++ b/README.rst
@@ -16,6 +16,9 @@
- many `external plugins <http://pytest.org/latest/plugins.html#installing-external-plugins-searching>`_.
+.. image:: https://secure.travis-ci.org/bubenkoff/pytest.png?branch=travis-integration
+ :target: http://travis-ci.org/bubenkoff/pytest
+
A simple example for a test::
# content of test_module.py
diff -r 9d60521c1e64ed81ba7bd40a241e7a631282cc7e -r 8e8ca29faf60b46b46c4c1ffd0808f77a80218d2 tox.ini
--- a/tox.ini
+++ b/tox.ini
@@ -13,6 +13,10 @@
changedir=.
commands= py.test --genscript=pytest1
+[testenv:py25]
+setenv =
+ PIP_INSECURE=1
+
[testenv:py27-xdist]
changedir=.
basepython=python2.7
@@ -29,6 +33,7 @@
deps=pytest-xdist
setenv=
PYTHONDONTWRITEBYTECODE=1
+distribute=true
commands=
py.test -n3 -rfsxX \
--junitxml={envlogdir}/junit-{envname}.xml {posargs:testing}
https://bitbucket.org/hpk42/pytest/commits/c3a0a8895e55/
Changeset: c3a0a8895e55
User: hpk42
Date: 2013-07-06 15:51:14
Summary: Merged in bubenkoff/pytest/travis-integration (pull request #41)
add travis integration, fixes for py25 and py27 no pyc tox env
Affected #: 4 files
diff -r 9d60521c1e64ed81ba7bd40a241e7a631282cc7e -r c3a0a8895e55c89070142e3849959464d08514b6 .gitignore
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,32 @@
+# Automatically generated by `hgimportsvn`
+.svn
+.hgsvn
+
+# Ignore local virtualenvs
+lib/
+bin/
+include/
+.Python/
+
+# These lines are suggested according to the svn:ignore property
+# Feel free to enable them by uncommenting them
+*.pyc
+*.pyo
+*.swp
+*.html
+*.class
+*.orig
+*~
+
+doc/*/_build
+build/
+dist/
+*.egg-info
+issue/
+env/
+3rdparty/
+.tox
+.cache
+.coverage
+.ropeproject
+
diff -r 9d60521c1e64ed81ba7bd40a241e7a631282cc7e -r c3a0a8895e55c89070142e3849959464d08514b6 .travis.yml
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,10 @@
+language: python
+# command to install dependencies
+install: "pip install -e . detox"
+# # command to run tests
+script: detox --recreate
+notifications:
+ irc:
+ - "chat.freenode.net#pylib"
+ email:
+ - pytest-commit at python.org
diff -r 9d60521c1e64ed81ba7bd40a241e7a631282cc7e -r c3a0a8895e55c89070142e3849959464d08514b6 README.rst
--- a/README.rst
+++ b/README.rst
@@ -16,6 +16,9 @@
- many `external plugins <http://pytest.org/latest/plugins.html#installing-external-plugins-searching>`_.
+.. image:: https://secure.travis-ci.org/bubenkoff/pytest.png?branch=travis-integration
+ :target: http://travis-ci.org/bubenkoff/pytest
+
A simple example for a test::
# content of test_module.py
diff -r 9d60521c1e64ed81ba7bd40a241e7a631282cc7e -r c3a0a8895e55c89070142e3849959464d08514b6 tox.ini
--- a/tox.ini
+++ b/tox.ini
@@ -13,6 +13,10 @@
changedir=.
commands= py.test --genscript=pytest1
+[testenv:py25]
+setenv =
+ PIP_INSECURE=1
+
[testenv:py27-xdist]
changedir=.
basepython=python2.7
@@ -29,6 +33,7 @@
deps=pytest-xdist
setenv=
PYTHONDONTWRITEBYTECODE=1
+distribute=true
commands=
py.test -n3 -rfsxX \
--junitxml={envlogdir}/junit-{envname}.xml {posargs:testing}
Repository URL: https://bitbucket.org/hpk42/pytest/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the pytest-commit
mailing list