forked from forcedotcom/SalesforceMobileSDK-Android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (31 loc) · 1005 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
language: android
jdk: oraclejdk7
sudo: false
branches:
only:
- unstable
android:
components:
- build-tools-23.0.1
- android-23
- extra-google-m2repository
- extra-android-m2repository
env:
global:
# install timeout in minutes
- ADB_INSTALL_TIMEOUT=8
# Create and start the emulator
before_script:
- echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a -c 128M
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82
#Build all projects and run the tests
script:
- ./gradlew :libs:SalesforceSDK:connectedAndroidTest
- ./gradlew :libs:SmartStore:connectedAndroidTest
- ./gradlew :libs:SmartSync:connectedAndroidTest
- ./gradlew :libs:SalesforceHybrid:connectedAndroidTest
- ./gradlew :libs:SalesforceReact:assembleDebug
- ./gradlew :native:SampleApps:RestExplorer:connectedAndroidTest
- ./gradlew :native:TemplateApp:connectedAndroidTest