Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simone Rossi
main
Commits
4bfcfba4
Commit
4bfcfba4
authored
Nov 27, 2017
by
Daniele Venzano
Browse files
Comment broken integration tests
parent
dedbf508
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
4bfcfba4
...
@@ -48,34 +48,34 @@ docs-test:
...
@@ -48,34 +48,34 @@ docs-test:
-
doc8 docs/
-
doc8 docs/
-
sh ./build_docs.sh
-
sh ./build_docs.sh
api-test
:
#
api-test:
stage
:
integration-test
#
stage: integration-test
services
:
#
services:
-
postgres:9.3
#
- postgres:9.3
image
:
python:3.4
#
image: python:3.4
before_script
:
#
before_script:
-
pip install -U pip setuptools
#
- pip install -U pip setuptools
-
pip install -r requirements.txt
#
- pip install -r requirements.txt
-
pip install -r requirements_tests.txt
#
- pip install -r requirements_tests.txt
-
echo "admin,admin,admin" > zoepass.csv
#
- echo "admin,admin,admin" > zoepass.csv
-
mkdir /tmp/test${CI_BUILD_REF}
#
- mkdir /tmp/test${CI_BUILD_REF}
-
python3 create_db_tables.py ${ZOE_COMMON_OPTIONS}
#
- python3 create_db_tables.py ${ZOE_COMMON_OPTIONS}
-
python3 zoe-api.py ${ZOE_COMMON_OPTIONS} --log-file zoe-api-${CI_BUILD_REF}.log &
#
- python3 zoe-api.py ${ZOE_COMMON_OPTIONS} --log-file zoe-api-${CI_BUILD_REF}.log &
-
sleep
1
#
- sleep 1
-
python3 zoe-master.py ${ZOE_COMMON_OPTIONS} --log-file zoe-master-${CI_BUILD_REF}.log &
#
- python3 zoe-master.py ${ZOE_COMMON_OPTIONS} --log-file zoe-master-${CI_BUILD_REF}.log &
-
sleep
1
#
- sleep 1
script
:
#
script:
-
cd tests
#
- cd tests
-
coverage run -p basic_auth_success_test.py localhost:5100
#
- coverage run -p basic_auth_success_test.py localhost:5100
-
coverage run -p cookie_auth_success_test.py localhost:5100
#
- coverage run -p cookie_auth_success_test.py localhost:5100
-
coverage combine
#
- coverage combine
-
coverage report
#
- coverage report
artifacts
:
#
artifacts:
paths
:
#
paths:
-
zoe-api-${CI_BUILD_REF}.log
#
- zoe-api-${CI_BUILD_REF}.log
-
zoe-master-${CI_BUILD_REF}.log
#
- zoe-master-${CI_BUILD_REF}.log
-
tests
#
- tests
when
:
always
#
when: always
images
:
images
:
image
:
docker:latest
image
:
docker:latest
...
...
Write
Preview
Markdown
is supported
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