In travis, directly apt-get redis and start command changed

This commit is contained in:
2015-12-23 22:41:56 +05:30
parent 862bf328e1
commit 8ddb6f36e6
3 changed files with 11 additions and 16 deletions
+6 -6
View File
@@ -1,11 +1,11 @@
Todo
------
1. Add gui tests
2. use logging.debug / log file for more prints
3. Allow config for tmpl, redis_arg, status_gui_arg
4. Add well-explained readme
4. Use config.pluginmanager.hasplugin('plugin_name') when needed
** use travis - install redis - how to run it **
1. Allow config for tmpl, redis_arg, status_gui_arg
2. Add well-explained readme
3. use logging.debug / log file for more prints
4. Add gui tests
5. Use config.pluginmanager.hasplugin('plugin_name') when needed
Done
+4 -1
View File
@@ -14,7 +14,10 @@ if env_redis_port:
else:
REDIS_PORT = 5946
command_redis_server_gen = "redis-server --port {port} --maxheap 20MB"
if os.environ["TRAVIS"] == "true":
command_redis_server_gen = "redis-server --port {port}"
else:
command_redis_server_gen = "redis-server --port {port} --maxheap 20MB"
command_redis_server = command_redis_server_gen.format(port=REDIS_PORT)
command_status_gui_gen = "pytest_gui_status \"{norm_dir_name}\""