-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
35 lines (32 loc) · 1.83 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
35
dist: bionic
jobs:
include:
- language: node_js
node_js: 14
python: '3.9.6'
addons:
sonarcloud:
organization: swsnu
token:
secure: "J1izyVWJBwDcvwRAbzlHh37sd2E5r2+YJvnxerYKqppVw+CYjuXeC0WHXKx3nk7SHCqQ26V9wk/24vX7LORxe5oGmgb2TQ4l4JmFxQWqxvvROqEgeNMHSl6dXJ/5EIFL4hYB0Td9JcNbqGYdISYEHlmAYULaUpDQJ1ULjO7BH2qtUBRMGzKWh8FSZLgdueGpepO4WaToBWwZLS+32EaD7n+hBEF5l3+gHTyrxJQK4JoDbNu+4F0uLF+U7WVdkwL/2Wy1AQqhINOL5OfKkJJzVH2YySX6goJdOBQPvekTsqKeunc3jL3FpsDgk1bSLAkmlx3jB8/usDHtGoTh/ibujEzpNlp1xRu6YlYkQ/991Yt7I5Uoc4loyY7gT00lH58jgLRYIPeyccm3PhwqtpbGi2OXQjTxtKV/roQNBrufluLnLDJYtqu/04fQOZnybIfhTNtlso6UriPZEXF9KiIT7Hamn4GDcS37OYInBLlNFcJSAARCi3K0ZrNv3NT2xhrSoXsN+oUgdTYG/IEIi35siQW3SQjrpri4LMXpIf8RiDZvUNCSfhtw9YDKZ/4xNY8B8WB1UvC0IC+YodPCLevYNCNNo79UlfrpL7T17BXmTFbIxw6AXqe4I83rKPyPMJbQtmmxpHNSULxc1/C8YKTWWI6VeGxGWuf/UIkn/DYJhJY="
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
- pip install -r requirements.txt
- pip install coveralls
- cd ../frontend
- yarn install
- yarn global add coveralls
- gem install coveralls-lcov
script:
- ./node_modules/.bin/eslint src
- yarn test -u --coverage --watchAll=false
- coveralls-lcov -v -n coverage/lcov.info > coverage.json
- cd ../backend
- pylint bridgeUS/views.py bridgeUS/models.py --load-plugins pylint_django
- coverage run --source='./bridgeUS' manage.py test
- coverage xml
- coveralls --merge=../frontend/coverage.json
- cd .. && sonar-scanner