Skip to content
Snippets Groups Projects
Commit 26cbe590 authored by Aflitos, Saulo Alves's avatar Aflitos, Saulo Alves
Browse files

modified travis job3

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