1 | language: android
|
1 | language: android |
2 | cache: false
|
2 | cache: false |
3 | sudo: false
|
3 | sudo: false |
4 | jdk:
|
4 | jdk: |
5 | - oraclejdk8
|
5 | - oraclejdk8 |
|
|
6 | addons: |
|
|
7 | apt: |
|
|
8 | packages: |
|
|
9 | - dos2unix |
6 | env:
|
10 | env: |
7 | global:
|
11 | global: |
8 | - _JAVA_OPTIONS="-Xms512m -Xmx2048m"
|
12 | - _JAVA_OPTIONS="-Xms512m -Xmx2048m" |
9 | - GRADLE_OPTS='-Xmx512m -Dorg.gradle.jvmargs="-Xmx2200m -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=2200m"'
|
13 | - GRADLE_OPTS='-Xmx512m -Dorg.gradle.jvmargs="-Xmx2200m -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=2200m"' |
10 | android:
|
14 | android: |
11 | components:
|
15 | components: |
12 | - tools # to get the new `repository-11.xml`
|
16 | - tools # to get the new `repository-11.xml` |
13 | - tools # see https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943)
|
17 | - tools # see https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943) |
14 | - platform-tools
|
18 | - platform-tools |
15 | - build-tools-22.0.0
|
19 | - build-tools-22.0.0 |
16 | - build-tools-22.0.1
|
20 | - build-tools-22.0.1 |
17 | - build-tools-23.0.1
|
21 | - build-tools-23.0.1 |
18 | - build-tools-23.0.2
|
22 | - build-tools-23.0.2 |
19 | - build-tools-23.0.3
|
23 | - build-tools-23.0.3 |
20 | - build-tools-24.0.0
|
24 | - build-tools-24.0.0 |
21 | - build-tools-24.0.2
|
25 | - build-tools-24.0.2 |
22 | - build-tools-25.0.2
|
26 | - build-tools-25.0.2 |
23 | - android-21
|
27 | - android-21 |
24 | - android-22
|
28 | - android-22 |
25 | - android-23
|
29 | - android-23 |
26 | - android-24
|
30 | - android-24 |
27 | - android-25
|
31 | - android-25 |
28 | - extra-android-m2repository
|
32 | - extra-android-m2repository |
29 | - extra-google-m2repository
|
33 | - extra-google-m2repository |
30 | - extra-android-support
|
34 | - extra-android-support |
31 | licenses:
|
35 | licenses: |
32 | - '.+'
|
36 | - '.+' |
33 | - 'android-sdk-license-.+'
|
37 | - 'android-sdk-license-.+' |
34 |
|
|
|
35 | script:
|
38 | script: |
36 | - echo $TRAVIS_EVENT_TYPE
|
39 | - echo $TRAVIS_EVENT_TYPE |
37 | - echo $TRAVIS_REPO_SLUG
|
40 | - echo $TRAVIS_REPO_SLUG |
38 | - _reponame=$(echo $TRAVIS_REPO_SLUG | cut -d'/' -f2) ; echo $_reponame
|
41 | - _reponame=$(echo $TRAVIS_REPO_SLUG | cut -d'/' -f2) ; echo $_reponame |
39 | - _repouser=$(echo $TRAVIS_REPO_SLUG | cut -d'/' -f1) ; echo $_repouser
|
42 | - _repouser=$(echo $TRAVIS_REPO_SLUG | cut -d'/' -f1) ; echo $_repouser |
40 | - _branch_from=$( if [ "$TRAVIS_PULL_REQUEST_BRANCH""x" == "x" ]; then echo "$TRAVIS_BRANCH" ; else echo "$TRAVIS_PULL_REQUEST_BRANCH" ; fi ) ; echo $_branch_from
|
43 | - _branch_from=$( if [ "$TRAVIS_PULL_REQUEST_BRANCH""x" == "x" ]; then echo "$TRAVIS_BRANCH" ; else echo "$TRAVIS_PULL_REQUEST_BRANCH" ; fi ) ; echo $_branch_from |
41 | - chmod a+rx ./download-androidstudio-files.sh
|
44 | - chmod a+rx ./download-androidstudio-files.sh |
|
|
45 | - dos2unix download-androidstudio-files.sh download-androidstudio-files.sh ; echo dummy |
42 | - ./download-androidstudio-files.sh
|
46 | - ./download-androidstudio-files.sh |
43 | - cd navit
|
47 | - cd navit |
44 | - pwd
|
48 | - pwd |
45 | - cat gradle.properties
|
49 | - cat gradle.properties |
46 | - chmod a+rx ./gradlew
|
50 | - chmod a+rx ./gradlew |
47 | - ./gradlew assembleRelease --stacktrace
|
51 | - ./gradlew assembleRelease --stacktrace |
48 | - pwd
|
52 | - pwd |
49 | - find . -name '*.apk' -exec ls -al {} \;
|
53 | - find . -name '*.apk' -exec ls -al {} \; |