-
Notifications
You must be signed in to change notification settings - Fork 44
/
.travis.yml
50 lines (45 loc) · 1.03 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
git:
depth: 10
notifications:
email: false
branches:
only:
- master
- dev
- /^release.*$/
- /^epic\/.*/
stages:
- test
env:
global:
- BUILD_CORE_FROM_SOURCE=false
jobs:
include:
- &android
stage: test
os: linux
language: android
dist: trusty
name: MapboxVision / Android
jdk: oraclejdk8
android:
components:
- tools
- platform-tools
licenses:
- 'android-sdk-license-.+'
before_install:
- echo y | sdkmanager "platforms;android-28"
- echo y | sdkmanager "build-tools;28.0.3"
- echo y | sdkmanager 'cmake;3.10.2.4988404'
install:
- source scripts/ci/install.sh
script: scripts/ci/build.sh
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/
- $HOME/.android/build-cache