forked from selendroid/selendroid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
52 lines (44 loc) · 1.53 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
51
52
language: android
android:
components:
- build-tools-23.0.2
- extra-google-m2repository
- extra-android-m2repository
- android-16
- sys-img-armeabi-v7a-android-16
licences:
- android-sdk-license-bcbbd656
- '.*intel.+'
notifications:
email: false
irc:
channels:
- "irc.freenode.org#selendroid"
on_success: always
on_failure: always
use_notice: true
branches:
only:
- master
before_install:
# Comment gradle build command to use maven and vice versa
- wget http://services.gradle.org/distributions/gradle-2.7-bin.zip
- unzip -qq gradle-2.7-bin.zip
- export GRADLE_HOME=$PWD/gradle-2.7
- export PATH=$GRADLE_HOME/bin:$PATH
- "git clone -b travis `git config --get remote.origin.url` target/travis"
# Maven
# - "mvn --version"
# - "cd third-party/"
# - "./mvnInstall.sh"
# - "cd ../"
before_script:
- echo no | android create avd --force -n l10n -t android-16 --abi armeabi-v7a
script:
- "gradle clean build"
# Maven
# - "[ ${TRAVIS_PULL_REQUEST} = 'false' ] && mvn clean deploy --settings target/travis/settings.xml || mvn clean verify --settings target/travis/settings.xml"
env:
global:
- secure: "qOCTIN+N9lYVx/rp7Qu5xcyaFPLsf64UYSOY5dq+4jOx5vokQfb0vwFxKyDJcUD7ow3GMhw11280HE2OZ3Xk+1xRGWND5Axhey8BPOjqT9D+vjKY2o2Q2ZmUbBTapL/lDixjnV9Gk/bJLytPLNaaA7S/HNfp0g03bWhLanz5fgg="
- secure: "BzwsXUidLx7X733KzZDwvuXsIiFD0WazDABk8FM3BuvkJnGd8xp84A0ZwZ76PYvrxWp/MncyaOytkrnNA86rnBmpWvcnWzEuBVoDY/cEc4q1SnLjgsRByanNBPoYopFHAVRI2zvkU8hSBVFZC2+ABi3vpNhgYr0LtBhZouBTX5E="