-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
34 lines (32 loc) · 1.73 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
# CI Environment
dist: bionic
# Job Configurations
jobs:
include:
- language: node_js
node_js: 14
python: "3.9.6"
addons:
sonarcloud:
organization: "swsnu"
token:
secure: "4FaqLguH7afiTEngyGgU5ZetSbtz9sS6C90zEIdtj6x61jRIHw7OI5uMRc85NhfTsQBEkoBxPzxjSU2Os51WKHJOIOY7U29782g5BuhN7lu4kxXCIOwDH86RLGv5f97mMVV9HwrlOtIFdpLHnAcaEVOv2eJ7F/FlEwnmDGZkORgddfE8pllbHFcTlh3j2PS+xI8EiFbuLMrov1meJL/4jUfPYduaMUEbgK+JV0zE2p2D/dCGGLk20+QnQDKPx0qsqF1fi9bQVVq1tZwvg4rO5X4e4ATdsmRjUmQ3PPCBlzirPquvZl/iMBcPjusSxJnORpx0Md4zbr0dt3oFZrbSAnRdTXcRcarO05q/WbxMnmxv9HT256zhoYCjGz/y2zH/CI+D65ZTtzPqvWvT+21cH37ebUvfxYv0iHXOeR4bzpYm+n4aNT9rl4r5Ix7gCneQ/sPFaT3mW3lELygaTMtH8xkkm1fvcFDRZpailC1Di9qVaJTx9B4okJ8Ds8HB0s4o9QFOc6qDwLAmcDV/jv2l9tOrjfZ2rS+c2jg0QzK7Y91468syaDclXE9pu9RkuVsXbt5qe2am9Qhbfx15SXIwwqAUvsXyGB/1n1zKjU0zZMND1bl/9Wx/JFwj+RVG39DFoxLiBDUc9C+5CXBjjFV/G+3e09bCipO1IX/Md62SIWs="
install:
- curl -sSf --retry 5 -o python-3.9.6.tar.bz2 https://storage.googleapis.com/travis-ci-language-archives/python/binaries/ubuntu/18.04/x86_64/python-3.9.6.tar.bz2
- sudo tar xjf python-3.9.6.tar.bz2 --directory /
- source ~/virtualenv/python3.9.6/bin/activate
- cd backend/qualla
- pip install -r requirements.txt
- pip install coveralls
- cd ../../frontend
- yarn install
- yarn global add coveralls
- gem install coveralls-lcov
script:
- yarn test --coverage --watchAll=false
- coveralls-lcov -v -n coverage/lcov.info > coverage.json
- cd ../backend/qualla
- coverage run --source='.' manage.py test
- coverage xml
- cd ../.. && sonar-scanner
- coveralls --merge=./frontend/coverage.json