Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stages:
- - build
- - Static Analysis
- # - test
- # - deploy
- cache:
- untracked: true
- paths:
- - node_modules/
- build vue app:
- image: node:latest
- stage: build
- before_script:
- - cd tripmaster
- - npm install --progress=false
- script:
- - npm run build
- artifacts:
- expire_in: 1 week
- paths:
- - dist
- build flask app:
- image: python:3.7
- stage: build
- before_script:
- - python --version
- - cd server
- script:
- - pip install -r requirements.txt
- pytest:
- dependencies:
- - build flask app
- stage: Static Analysis
- allow_failure: true
- script:
- - python --version
- # - pytest app.py --cov --cov-report term --cov-report html
- flake8:
- dependencies:
- - build flask app
- stage: Static Analysis
- allow_failure: true
- script:
- - flake8 --max-line-length=120 .\app.py .\controllers\gpsController.py
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement