-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
34 lines (32 loc) · 1.67 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
# CI environment
dist: bionic
jobs:
include:
- language: python, node_js
python: "3.7.9"
node_js: 14
addons:
sonarcloud:
organization: "swsnu"
token:
secure: "Mo1K92bHgJkK8OVoAxZnDjiJ3uSt7dNBhE1CsWZ1Dn3vBrzQOtiENNSBfHU9vSm4FqCe+mfwy6pU9CrwMUdtlEmTeqqa4FYwMBINnLl5asSKgpK8Q1fmrv3HHibzSGWCqqlArX2MVa67NA23fLmqZEKQEqamn5w1Cw8oXmq0cwjoLpIeDsk5OW72NoKwmXloLusMDRRpV6RtfhKqH0M0eCNU6x/AVpU7n1q0s4IWiqwMf+h7u930ovfgWNr6JEV426b3i1CqTOh+nRH7ZIkfDV8n7uTAppYkZm9KadbV7gitX6gF7+ftktm9D2bttTkBlt6FCm1XUv1+zeERSgM1olVXpBU2SNHUTv4IfTgwCpZQFxnKg3FGSJeAZ0HFYAODnNfY8fwurM5F2140/7JDfybDpDxt2U5ua6LWMmuB0Amwx9zI2EMN/6sXn0p5XOkrilIy9EoMux8nwTd4dndMwWMJ/9K/1ktxFGbhVsHwcRM67xT6cUKe+pvovHd/blTb7EMeCYVWOH+dFTD/TjI7IEFyqn0nhAetL+I3twVCRX26hiZ2nfjI0xD/ycjV2GQkwQ3Ibm/nRViuTxvdaEM2GjEfcY2uV8G/H1s62Ts1xf2+ppvlU95xHQCFrs9pLhN9grwOoAak8PGoRCzLZ1vMewisJyT8EM/iBcVfaBV9M3s="
install:
- cd backend/connectoon
- source ~/virtualenv/python3.7/bin/activate
- pip install -r requirements.txt
- pip install coveralls
- cd ../../frontend/connectoon
- yarn install
- yarn global add coveralls
- gem install coveralls-lcov
script:
- cd ../../frontend/connectoon
- ./node_modules/.bin/eslint src
- yarn test --coverage --watchAll=false
- coveralls-lcov -v -n coverage/lcov.info > coverage.json
- cd ../../backend/connectoon
- pylint connectoon/*.py --load-plugins pylint_django
- coverage run --source='.' manage.py test
- coverage xml
- cd ../.. && sonar-scanner
- coveralls --merge frontend/connectoon/coverage.json