Commit Graph

75 Commits

Author SHA1 Message Date
Sam Manzi
0a11cbf8b5
Renable user_test on travis after 2365a72d98 fix 2016-12-01 08:51:01 +11:00
kulath
fbb884b6ea Fix top level test files so they at least compile and don't interfere
with nosetests. Add these files to nosetests.
2016-08-19 21:10:07 +01:00
kulath
297f9b57c7 Remove a diagnostic.
constfunc_test.py had been edited on the travis test branch to produce
some diagnostics, and travis.yml was edited to omit the diagnostics.
2016-08-16 00:52:53 +01:00
kulath
6245d219a9 Update travis.yml so coverage works and also to load pyicu; this entails
moving to the 'trusty' distribution which has Python 3.3 (coverage needs
3.3 or more) and also a Python 3 version of pyicu. This doesn't use the
virtualenv at all, so the various pip installs are removed. There are
still some minor omissions, noted in FIXMEs; in particular, the code
should be tested under Python 3.2 (which is the minimum Gramps
requirement).
2016-08-15 23:43:54 +01:00
Elliott Sales de Andrade
ea4a4cd464 CI: Make trailing whitespace into a Travis error. 2016-05-18 20:38:35 -04:00
Doug Blank
f093c8bd79 Remove Django-style WHERE; consider Python expressions 2016-04-17 16:54:55 -04:00
Doug Blank
a605bf451f Replace dictionarydb with inmemorydb, a sqlite :memory: db 2016-04-16 23:47:29 -04:00
֍ DaAwesomeP ֎
8d3ab52904 Use new Travis container and Apt addon 2016-03-07 23:01:13 -06:00
Doug Blank
8c35de5642 Travis: python3-coverage does not exist 2016-03-01 07:33:48 -05:00
Doug Blank
70de5e8899 Travis: attempt to use coverage 2016-03-01 07:26:11 -05:00
Doug Blank
d03d99ccce Travis: working, but without coverage 2016-02-28 18:32:21 -05:00
Doug Blank
40af708cab Travis: try to find right nosetests 2016-02-28 18:25:19 -05:00
Doug Blank
689eaf2603 Travis: cleanup, include pyicu 2016-02-28 18:20:37 -05:00
Doug Blank
14c65f8de6 Travis: use pip, which should be new pip 2016-02-28 18:06:17 -05:00
Doug Blank
7448e2f1e0 Travis: use python, which is 3.4 2016-02-28 18:02:06 -05:00
Doug Blank
6a9129c7b9 Travis: try Python 3.4 2016-02-28 17:55:37 -05:00
Doug Blank
400825207a Add pillow, coverage, pip3, and codecov via alternative methods 2016-02-28 17:51:45 -05:00
Doug Blank
89cb62f3e2 Add pillow, coverage, pip3, and codecov via alternative methods 2016-02-28 16:48:36 -05:00
Doug Blank
ad3dcb8d13 Hide db._select(); Refactor db._tables; QuerySet; tests and bug fixes
db.select() has become db._select()

This commit refactors database._tables so that they can work properly
after a proxy or filter has been removed.

It adds abstract API called QuerySet which allows a variety of
selections and ordering of data.

Logging was added to sqlite to better see db access.

Additional fixes:

* clearing GenericDB._directory
* test_util_test off-by-one error
2016-02-28 15:40:16 -05:00
Doug Blank
8a02c85bde Turn on coverage/codecov in Travis 2016-02-13 08:09:03 -05:00
Doug Blank
b131121072 Remove python3-icu in testing 2016-01-23 18:00:58 -05:00
Doug Blank
feebedad65 Exclude user_test because of older version of mock; use python3-icu 2016-01-23 17:57:23 -05:00
Doug Blank
78f3b29b4c Exclude TestUser tests because of older version of mock 2016-01-23 17:50:27 -05:00
Doug Blank
44866a90f7 Use easy_install3 to install mock 2016-01-23 17:39:41 -05:00
Doug Blank
5efb313177 Get pip3 from python3-setuptools 2016-01-23 17:33:46 -05:00
Doug Blank
db6e70d24b Use built in python3 only, old version of mock 2016-01-23 17:20:23 -05:00
Doug Blank
e3e32bcddf Use python rather than python3 2016-01-23 17:05:01 -05:00
Doug Blank
02818ac867 Use python3 and forget pip 2016-01-23 16:32:30 -05:00
Doug Blank
885af4271c Use python3.4 directly 2016-01-23 16:28:29 -05:00
Doug Blank
106cff20aa Get pip a different way 2016-01-23 16:24:09 -05:00
Doug Blank
adecfe26cf Try using python3.4 specifically 2016-01-23 16:16:37 -05:00
Doug Blank
05eef13110 Try using python3-pip package 2016-01-23 16:06:42 -05:00
Doug Blank
b9e5db3563 Try using downloaded pip3.4 2016-01-23 16:02:40 -05:00
Doug Blank
4394535139 Try using built in pip3.4 2016-01-23 15:56:08 -05:00
Doug Blank
bc0562d9b3 Try using built in pip 2016-01-23 15:50:14 -05:00
Doug Blank
ec5c8cccef Try using built in pip3 2016-01-23 15:44:25 -05:00
Doug Blank
cb74c40afa Try using Python 3.4 2016-01-23 15:37:29 -05:00
Doug Blank
7aa7f26bbb Removed webapp to django-webapp project 2016-01-06 15:24:27 -05:00
Doug Blank
322d90f43b Travis: create a temp Django database so we can test 2015-08-21 18:27:59 -04:00
Doug Blank
7ad5262678 Travis: changes for webapp to pass tests 2015-08-21 17:46:03 -04:00
belissent
51f66f1a6a Remove useless 'git clone' in .travis.yml 2015-08-19 15:32:57 +02:00
Doug Blank
40fa203659 pyicu: pin at version 1.8, until they fix 1.9 installer 2015-05-09 21:17:01 -04:00
Doug Blank
35440f241a Travis: Pin Django at version 1.7 2015-04-02 23:02:00 -04:00
Doug Blank
35dead7b26 Enable all tests, except those to be rewritten/excluded 2015-03-18 03:57:27 -04:00
Doug Blank
ad1d47cc37 Fix and enable test_util_test 2015-03-18 03:25:39 -04:00
Doug Blank
4b11ed740a Travis: add mock, prevents skips 2015-03-15 17:26:28 -04:00
Doug Blank
ac530d8a34 Don't crash trying to create a Gdk.Cursor without a DISPLAY; enable more tests for Travis 2015-03-15 09:48:10 -04:00
Doug Blank
fc58b123b4 Travis: remove new test, until we can include it (xvfb, or avoid Gtk Cursor calls) 2015-03-15 01:35:14 -04:00
Doug Blank
f4418d65b9 Travis: try using virtual frame buffer to test graphics 2015-03-15 01:06:09 -04:00
Doug Blank
23c023f787 8435: Crash when trying to link existing place as an enclosing place using P0001 number; added tests, updated Travis testing 2015-03-15 00:33:39 -04:00