-
Notifications
You must be signed in to change notification settings - Fork 22
/
.travis.yml
35 lines (29 loc) · 887 Bytes
/
.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
#Specify jdk version
jdk:
- oraclejdk8
language: android
android:
components:
- tools
- platform-tools
- build-tools-27.0.3
- android-27
- extra-android-m2repository
- extra-google-m2repository
#In default configuration, install contains command to assemble and run application on emulators.
#Setting it true overrides it, allowing developer to specify product flavour type
install:
- true
script:
#Increase the heap memory limits
- 'export GRADLE_OPTS="-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError"'
#Prints all the build tasks which are present in gradle configuration
- ./gradlew tasks
#Assemble all the dev builds
- ./gradlew assemble
#Use the new container infrastructure on Travis
sudo:
- false
before_script:
#Remove the stack size limit
- ulimit -s unlimited