-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
57 lines (57 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
matrix:
include:
- language: android
sudo: required
jdk: oraclejdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_install:
- cd android
- yes | sdkmanager "platforms;android-28"
before_script:
- chmod +x gradlew
script:
- "./gradlew clean assembleDebug lint jacocoTestReport -PdisablePreDex"
after_script:
- "java -jar ../codacy-coverage-reporter-4.0.5-assembly.jar report -l Kotlin -r ./loginregistration/build/reports/jacoco/jacocoTestReport/jacocoTestReport.xml"
- language: node_js
node_js:
- "iojs"
before_script:
- cd gateway-test
- npm install
script:
- npm test
- language: python
sudo: required
dist: xenial
python:
- "3.7"
before_install:
- cd microservices
install:
- sudo pip install -U setuptools
- sudo pip install -r requirements.txt
script:
- sudo python -m pytest
- language: java
sudo: required
jdk: oraclejdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_script:
- chmod +x gradlew
before_install:
- cd database
script:
- "./gradlew clean build"