Commit ce2134be authored by axelkjonsberg's avatar axelkjonsberg
Browse files

Update gitlab-ci

parent 3676ae7b
Pipeline #117309 passed with stage
in 1 minute and 3 seconds
...@@ -13,22 +13,22 @@ test-backend: ...@@ -13,22 +13,22 @@ test-backend:
- coverage run --source='.' manage.py test tests - coverage run --source='.' manage.py test tests
- coverage report -m - coverage report -m
e2e:firefox: # e2e:firefox:
image: nikolaik/python-nodejs:python3.8-nodejs10 # image: nikolaik/python-nodejs:python3.8-nodejs10
stage: test # stage: test
script: # script:
- npm install -g testcafe # - npm install -g testcafe
- npm install -g cordova # - npm install -g cordova
- cd backend/secfit # - cd backend/secfit
- apt-get update -qy # - apt-get update -qy
- pip install -r requirements.txt # - pip install -r requirements.txt
- python3 manage.py runserver & # - python3 manage.py runserver &
- cd ../.. # - cd ../..
- cd frontend # - cd frontend
- npm install # - npm install
- cordova run browser --port=3000 & # - cordova run browser --port=3000 &
- apt-get install -y firefox-esr # - apt-get install -y firefox-esr
- npm test # - npm test
staging: staging:
type: deploy 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