Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Aflitos, Saulo Alves
ibrowser
Commits
26cbe590
Commit
26cbe590
authored
Sep 29, 2015
by
Aflitos, Saulo Alves
Browse files
modified travis job3
parent
35be9d27
Changes
2
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
26cbe590
...
...
@@ -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"
behaviour.py
View file @
26cbe590
...
...
@@ -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"
]
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment