-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
34 lines (34 loc) · 1.61 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
dist: bionic
jobs:
include:
- language: python
python: "3.9.6"
addons:
sonarcloud:
organization: "swsnu"
token:
secure: 3HvlE6L7qh2fFg0bxv67HrrGuKewiYYxWlrTjA2yRbheS/43YXa/kpINzm0ZGpLr3npU+LlIsfZdVgV+fBd8CoY+unIcEPNYx4Mi6g7dxo4JQHkfuukj9CcxQNz17xr9thdyQgdnYK2aD7JqqKuexrzcrqLkqxj4FJN5n/sJieUAjQdHUK/nvI0zExZsX0icDgy+HhnUDH/Lgk34EANrbO+wxws3xClWqgtepvzMKBAV61L4YwkbeueJ8BBGifSRqlPMmgkHHuUoPa9aERNXyncN0+zSplyDcw4fG9PLGyrYT5sWjbAYUKtKmOiuxvlxxNPU7dpFy/vG31kYmYbrXfuaE2NN1eZWah9+r0Uq1jW4tKK8AaH6Qd9ADrQ90Dl3MRqeKCTweL2IQ6z7WBmKiqTQ0VMLo9qysUuKDsuvjIYpCsul1gdqMluHbFQH96g8+7zGmn9eR2+DizyS8bnHHr4vvs5+RzE6lJGdAGaM0txu4yIjdOhcVDwz8YajD2E8oMfhGQ7an7YQXNKa2Y7M/S/cTHZg+RmlwfeeSwwHzKCaabESY5vzFOgx08oe8WsSVhfbYEjac8evzwQ6kH79j2u0s9/nYv91NnfIO8zqHDXbVslBG+3EJ9hLBSAzTBAcS3HSjqlCwBjo9FsfP1/nFRmmgRJeEKc+8NLSarCuFro=
before_install:
- pip install git-lfs
- git lfs install --skip-smudge
install:
- cd backend
- pip install -r requirements.txt
- pip install coveralls
- cd ../frontend
- yarn install
- yarn global add coveralls
- gem install coveralls-lcov
- cd ../
script:
- cd frontend
- ./node_modules/.bin/eslint src
- yarn test --coverage --watchAll=false
- coveralls-lcov -v -n coverage/lcov.info > coverage.json
- cd ../backend/jjdd
- pylint **/*.py --load-plugins pylint django
- coverage run --source='.' manage.py test
- coverage xml
- coveralls --merge=../../frontend/coverage.json
- cd ../../
- sonar-scanner