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
TDT4242 Spring 2021 – T17
tdt4242-T17
Commits
ce2134be
Commit
ce2134be
authored
Mar 15, 2021
by
axelkjonsberg
Browse files
Update gitlab-ci
parent
3676ae7b
Pipeline
#117309
passed with stage
in 1 minute and 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
ce2134be
...
...
@@ -13,22 +13,22 @@ test-backend:
-
coverage run --source='.' manage.py test tests
-
coverage report -m
e2e:firefox:
image
:
nikolaik/python-nodejs:python3.8-nodejs10
stage
:
test
script
:
-
npm install -g testcafe
-
npm install -g cordova
-
cd backend/secfit
-
apt-get update -qy
-
pip install -r requirements.txt
-
python3 manage.py runserver &
-
cd ../..
-
cd frontend
-
npm install
-
cordova run browser --port=3000 &
-
apt-get install -y firefox-esr
-
npm test
#
e2e:firefox:
#
image: nikolaik/python-nodejs:python3.8-nodejs10
#
stage: test
#
script:
#
- npm install -g testcafe
#
- npm install -g cordova
#
- cd backend/secfit
#
- apt-get update -qy
#
- pip install -r requirements.txt
#
- python3 manage.py runserver &
#
- cd ../..
#
- cd frontend
#
- npm install
#
- cordova run browser --port=3000 &
#
- apt-get install -y firefox-esr
#
- npm test
staging
:
type
:
deploy
...
...
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