forked from ResearchStack/ResearchStack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (33 loc) · 1.19 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
language: android
# Required to run retrolambda
jdk:
- oraclejdk8
android:
components:
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
# - platform-tools
# - tools
# The BuildTools version used by your project
# per travis-ci issue #5036, add '-tools' to use build-tools-23.0.2
- tools
- build-tools-23.0.2
# The SDK version used to compile your project
- android-23
# Additional components go here.
- extra-android-support
- extra-android-m2repository
# Specify at least one system image,
# if you need to run emulator(s) during your tests
# Required to run retrolambda
before_install:
- export JAVA8_HOME=/usr/lib/jvm/java-8-oracle
- export JAVA_HOME=$JAVA8_HOME
before_script:
# Tests crash if a local.properties file isn't present; this file is not kept
# under version control. Create an empty local.properties for testing.
- touch local.properties
script: ./gradlew test
# Uncomment line below to add post-test scripts.
# after_script:
# - cat /home/travis/build/nrlakin/ResearchStack/backbone/build/reports/tests/debug/classes/org.researchstack.backbone.task.TaskTest.html