This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The branch, master has been updated
via 6e2d27267277a9aec02b4a08db8bbd661e1b5a8e (commit)
from c7574877ac2d0eba0f5555d58c351a32375e1b07 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceforge.net/p/sqlobject/sqlobject/ci/6e2d27267277a9aec02b4a08db8bbd661e1b5a8e
commit 6e2d27267277a9aec02b4a08db8bbd661e1b5a8e
Author: Oleg Broytman <ph...@ph...>
Date: Thu Dec 4 17:08:10 2014 +0300
Add Travis CI config
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..71640b6
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,27 @@
+language: python
+python:
+ - "2.6"
+ - "2.7"
+
+branches:
+ only:
+ - master
+
+env:
+ - DB=mysql
+ - DB=postgres
+ - DB=sqlite
+
+install:
+ - if [[ $DB == mysql ]]; then pip install --use-mirrors mysql-python; fi;
+ - if [[ $DB == postgres ]]; then pip install --use-mirrors psycopg2; fi;
+
+before_script:
+ - if [[ $DB == mysql ]]; then mysql -e 'create database sqlobject_test;'; fi;
+ - if [[ $DB == postgres ]]; then psql -c 'create database sqlobject_test;' -U postgres; fi;
+
+script:
+ - cd sqlobject
+ - if [[ $DB == mysql ]]; then /usr/bin/py.test -D mysql://root:@localhost/sqlobject_test; fi
+ - if [[ $DB == postgres ]]; then /usr/bin/py.test -D postgres://postgres:@localhost/sqlobject_test; fi
+ - if [[ $DB == sqlite ]]; then /usr/bin/py.test -D sqlite:///tmp/sqlobject_test.sqdb; fi
-----------------------------------------------------------------------
Summary of changes:
.travis.yml | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
create mode 100644 .travis.yml
hooks/post-receive
--
SQLObject development repository
|