Workaround for Travis

Travis doesn't support cpu affinity in their virtuals so I've added a setting TESTING that will bypass the actual affinity setting, but will still cover most of the code.
Might be useful for future workarounds.
This commit is contained in:
Ilan
2015-07-15 22:17:13 +02:00
parent 464255fa88
commit a5580c75a1
3 changed files with 9 additions and 3 deletions
+2 -1
View File
@@ -103,4 +103,5 @@ STATIC_URL = '/static/'
# Django Q specific
Q_CLUSTER = {'name': 'django_q_test',
'cpu_affinity': 0}
'cpu_affinity': 1,
'testing': True}