-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (39 loc) · 1.11 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
jobs:
include:
- language: python
python:
- 3.7.6
before_install:
- python --version
- pip install -U pip
- pip install codecov
- pip install coverage
- pip install -r requirements.txt
script: cd py_src &&
coverage run -m unittest discover test &&
mv .coverage .. &&
cd - # TODO: https://github.com/noidsirius/LatteLibrary/issues/24
env:
- CODECOV_TOKEN=d9615b91-c123-4003-ac18-2df188e88470
after_success:
- codecov # submit coverage
- language: android
dist: trusty
jdk:
- openjdk8
android:
components:
- platform-tools
- build-tools-29.0.3
- android-30
- extra
before_install:
- yes | sdkmanager "platform-tools"
- yes | sdkmanager "build-tools;29.0.3"
- yes | sdkmanager "platforms;android-30"
script:
- ./gradlew build check jacocoTestReport
env:
- CODECOV_TOKEN=d9615b91-c123-4003-ac18-2df188e88470
after_success:
- bash <(curl -s https://codecov.io/bash)