Commit 3676ae7b authored by axelkjonsberg's avatar axelkjonsberg
Browse files

Update gitlab-ci

parent bf7d5b7c
Pipeline #117308 failed with stage
in 1 minute and 5 seconds
......@@ -13,22 +13,22 @@ test-backend:
- coverage run --source='.' manage.py test tests
- coverage report -m
# test-e2e:
# 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
......
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