Commit 26cbe590 authored by Aflitos, Saulo Alves's avatar Aflitos, Saulo Alves
Browse files

modified travis job3

parent 35be9d27
......@@ -51,13 +51,13 @@ script:
- python ibrowser.py data/ deluser test2
- python ibrowser.py data/ clean
#no login with ssh
- sed -i 's/HAS_LOGIN = True/HAS_LOGIN = False/' data/config.py
- cat data/config.py
# - sed -i 's/HAS_LOGIN = True/HAS_LOGIN = False/' data/config.py
# - cat data/config.py
# - python ibrowser.py data/ adduser test1 pass1
# - python ibrowser.py data/ adduser test2 pass2
# - python ibrowser.py data/ listusers
# - python ibrowser.py data/ deluser test1
# - python ibrowser.py data/ deluser test2
- python ibrowser.py data/ clean
# - python ibrowser.py data/ clean
# - python ibrowser.py data/ &
# - pid=$! && echo PID && sleep 60s && kill -9 $pid && true"
......@@ -401,9 +401,10 @@ def run_action(args):
sys.exit(1)
if action == "init":
if action == "init":
print "inited"
if action == "clean":
print "cleaning"
files_to_del = [ app.config["SECRET_FILE"], app.config["DATABASE_FILE"] ]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment