mirror of
https://github.com/bendtherules/pytest_gui_status.git
synced 2026-08-18 13:42:26 +00:00
In travis, directly apt-get redis and start command changed
This commit is contained in:
+1
-9
@@ -11,15 +11,7 @@ python:
|
|||||||
- "nightly" # currently points to 3.6-dev
|
- "nightly" # currently points to 3.6-dev
|
||||||
# command to install dependencies
|
# command to install dependencies
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get install build-essential
|
- sudo apt-get install redis-server
|
||||||
- sudo apt-get install tcl8.5
|
|
||||||
- wget http://download.redis.io/releases/redis-2.8.3.tar.gz
|
|
||||||
- tar -xvzf redis-2.8.3.tar.gz
|
|
||||||
- cd redis-2.8.3
|
|
||||||
- make
|
|
||||||
- sudo make install
|
|
||||||
- cd ..
|
|
||||||
# - apt-get install redis-server
|
|
||||||
install:
|
install:
|
||||||
- "pip install -r requirements.txt"
|
- "pip install -r requirements.txt"
|
||||||
- "pip install -e ."
|
- "pip install -e ."
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
Todo
|
Todo
|
||||||
------
|
------
|
||||||
|
** use travis - install redis - how to run it **
|
||||||
1. Add gui tests
|
1. Allow config for tmpl, redis_arg, status_gui_arg
|
||||||
2. use logging.debug / log file for more prints
|
2. Add well-explained readme
|
||||||
3. Allow config for tmpl, redis_arg, status_gui_arg
|
3. use logging.debug / log file for more prints
|
||||||
4. Add well-explained readme
|
4. Add gui tests
|
||||||
4. Use config.pluginmanager.hasplugin('plugin_name') when needed
|
5. Use config.pluginmanager.hasplugin('plugin_name') when needed
|
||||||
|
|
||||||
|
|
||||||
Done
|
Done
|
||||||
|
|||||||
@@ -14,7 +14,10 @@ if env_redis_port:
|
|||||||
else:
|
else:
|
||||||
REDIS_PORT = 5946
|
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_redis_server = command_redis_server_gen.format(port=REDIS_PORT)
|
||||||
|
|
||||||
command_status_gui_gen = "pytest_gui_status \"{norm_dir_name}\""
|
command_status_gui_gen = "pytest_gui_status \"{norm_dir_name}\""
|
||||||
|
|||||||
Reference in New Issue
Block a user