-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
59 lines (57 loc) · 2.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
notifications:
webhooks: https://coveralls.io/webhook
matrix:
include:
- language: node_js
cache:
yarn: true
node_js:
- "10"
dist: trusty
env:
- COVERALLS_PARALLEL=true
addons:
sonarcloud:
organization: "swsnu"
token:
secure: "RnXCoy83suPhfDs8mMyHDoReMZekdF98mMNzQY/6kHKjYFY19HN/BcbBKr1hKTJm2fJs6pw86aXs35eiu4gGh1FBwfk2ZI+AKJHNY7Aqy/sor02Gw4UmgDVvt1/aQetlhvmyK3WuQMkeBd0mjTDV3A6LTbaUzpNQEzVkuESNJw4wXSakFsySnGyfbQCneklGtjwmS+HRxKTVzekc3AITArRUUt4OQruHxbgJmeB/IV42QpW63+k2XUf49JOBJ+1J53lcWcjdPPOH/WiV/Yum9KEWCOinHbIj1E1wVDwt6wiDVqNGrmA1KP/si1Y7BnBEOHBdS03OPDfzccw6n8Ue4J6BAfi0xMBc90Up9ou602JbxqxIBtFY9YW84nGpk8eSzTQvd6TRQw3oSbbz3z1Il+c8uGQEWClLbP/W3xKIBP+AVwR6VrOBmYjAY0XlOJ5xltOd0oXSpupKlAC4+8kXuEKLlTvqccBaFFaG78UWZvCb41OejneTiN9AQDaiy7Twi0m5/w3KmceGS6gfVEQZ5BgJZwJhmXMW422+1kQxebOzue2+WJTD8fIoe0mC+uLbRM1LwRXbPQuP16kxUTBQDk+YCleM4PtH9lN+VfSzatvVdF7t17u8WcerwFPExv++FQIrdJF5Qw7aB00wd47ZjEaafPjWjnYctolwzrqm7qA="
before_install: # Script to run before install
- cd booksbridge
install: # Script to install required packages
- yarn install
- yarn add coveralls
script: # Script to test your build
- ./node_modules/.bin/eslint src
- yarn test --coverage --watchAll=false
after_success:
- cat ./coverage/lcov.info | coveralls
- language: python
cache:
pip: true
yarn: true
python: 3.7.4
dist: xenial
# services:
# - sqlite3
env:
- COVERALLS_PARALLEL=true
addons:
sonarcloud:
organization: "swsnu"
token:
secure: "RnXCoy83suPhfDs8mMyHDoReMZekdF98mMNzQY/6kHKjYFY19HN/BcbBKr1hKTJm2fJs6pw86aXs35eiu4gGh1FBwfk2ZI+AKJHNY7Aqy/sor02Gw4UmgDVvt1/aQetlhvmyK3WuQMkeBd0mjTDV3A6LTbaUzpNQEzVkuESNJw4wXSakFsySnGyfbQCneklGtjwmS+HRxKTVzekc3AITArRUUt4OQruHxbgJmeB/IV42QpW63+k2XUf49JOBJ+1J53lcWcjdPPOH/WiV/Yum9KEWCOinHbIj1E1wVDwt6wiDVqNGrmA1KP/si1Y7BnBEOHBdS03OPDfzccw6n8Ue4J6BAfi0xMBc90Up9ou602JbxqxIBtFY9YW84nGpk8eSzTQvd6TRQw3oSbbz3z1Il+c8uGQEWClLbP/W3xKIBP+AVwR6VrOBmYjAY0XlOJ5xltOd0oXSpupKlAC4+8kXuEKLlTvqccBaFFaG78UWZvCb41OejneTiN9AQDaiy7Twi0m5/w3KmceGS6gfVEQZ5BgJZwJhmXMW422+1kQxebOzue2+WJTD8fIoe0mC+uLbRM1LwRXbPQuP16kxUTBQDk+YCleM4PtH9lN+VfSzatvVdF7t17u8WcerwFPExv++FQIrdJF5Qw7aB00wd47ZjEaafPjWjnYctolwzrqm7qA="
before_install:
install:
- yarn installb
- cd booksbridge
- yarn install
- cd ../booksbridge_backend
- pip install coveralls
- cd ..
script:
- yarn test
# - pylint ./*/
after_success:
- sonar-scanner
- cd booksbridge_backend
- coveralls