/[zanavi_public1]/navit/.travis.yml
ZANavi

Contents of /navit/.travis.yml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 56 - (hide annotations) (download)
Sun Mar 19 08:44:36 2017 UTC (18 months ago) by zoff99
File size: 1543 byte(s)
updates
1 zoff99 56 language: android
2     cache: false
3     sudo: false
4     jdk:
5     - oraclejdk8
6     env:
7     global:
8     - _JAVA_OPTIONS="-Xms512m -Xmx2048m"
9     - GRADLE_OPTS='-Xmx512m -Dorg.gradle.jvmargs="-Xmx2200m -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=2200m"'
10     android:
11     components:
12     - tools # to get the new `repository-11.xml`
13     - tools # see https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943)
14     - platform-tools
15     - build-tools-22.0.0
16     - build-tools-22.0.1
17     - build-tools-23.0.1
18     - build-tools-23.0.2
19     - build-tools-23.0.3
20     - build-tools-24.0.0
21     - build-tools-24.0.2
22     - build-tools-25.0.2
23     - android-21
24     - android-22
25     - android-23
26     - android-24
27     - android-25
28     - extra-android-m2repository
29     - extra-google-m2repository
30     - extra-android-support
31     licenses:
32     - '.+'
33     - 'android-sdk-license-.+'
34    
35     script:
36     - echo $TRAVIS_EVENT_TYPE
37     - echo $TRAVIS_REPO_SLUG
38     - _reponame=$(echo $TRAVIS_REPO_SLUG | cut -d'/' -f2) ; echo $_reponame
39     - _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
41     - chmod a+rx ./download-androidstudio-files.sh
42     - ./download-androidstudio-files.sh
43     - cd navit
44     - pwd
45     - cat gradle.properties
46     - chmod a+rx ./gradlew
47     - ./gradlew assembleRelease --stacktrace
48     - pwd
49     - find . -name '*.apk' -exec ls -al {} \;

   
Visit the ZANavi Wiki