Jake Wharton | 9f121ee | 2014-09-16 23:06:12 -0700 | [diff] [blame] | 1 | language: android |
Jake Wharton | d45582b | 2013-05-02 11:41:46 -0700 | [diff] [blame] | 2 | |
ronshapiro | 31d711c | 2017-01-13 08:58:02 -0800 | [diff] [blame] | 3 | os: linux |
| 4 | dist: precise |
| 5 | sudo: required |
| 6 | addons: |
| 7 | apt: |
| 8 | sources: |
ronshapiro | 31d711c | 2017-01-13 08:58:02 -0800 | [diff] [blame] | 9 | - ubuntu-toolchain-r-test |
| 10 | packages: |
ronshapiro | 31d711c | 2017-01-13 08:58:02 -0800 | [diff] [blame] | 11 | - libstdc++-4.9-dev # https://github.com/nodegit/nodegit/issues/853 |
ronshapiro | 9f51361 | 2017-05-01 08:47:25 -0700 | [diff] [blame] | 12 | - gcc-4.8 |
| 13 | - g++-4.8 |
ronshapiro | 31d711c | 2017-01-13 08:58:02 -0800 | [diff] [blame] | 14 | |
Christian Edward Gruber | 5a15b9e | 2013-06-12 11:40:34 -0700 | [diff] [blame] | 15 | jdk: |
ronshapiro | 898bc22 | 2016-11-09 08:25:26 -0800 | [diff] [blame] | 16 | - &jdk_for_publishing oraclejdk8 |
Christian Edward Gruber | 5a15b9e | 2013-06-12 11:40:34 -0700 | [diff] [blame] | 17 | |
Jake Wharton | 9f121ee | 2014-09-16 23:06:12 -0700 | [diff] [blame] | 18 | android: |
| 19 | components: |
ronshapiro | 5abbc82 | 2016-11-16 11:17:28 -0800 | [diff] [blame] | 20 | - tools |
| 21 | - tools # Duplicated as per https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943 |
ronshapiro | ebee36e | 2017-10-23 12:40:24 -0700 | [diff] [blame^] | 22 | - build-tools-26.0.2 |
| 23 | - android-26 |
ronshapiro | 5abbc82 | 2016-11-16 11:17:28 -0800 | [diff] [blame] | 24 | - platform-tools |
| 25 | - extra-android-m2repository |
Christian Edward Gruber | 5a15b9e | 2013-06-12 11:40:34 -0700 | [diff] [blame] | 26 | |
Nguyen Truong Tho | c25c741 | 2015-03-27 04:09:29 +0700 | [diff] [blame] | 27 | before_install: |
ronshapiro | 792adb3 | 2017-06-14 11:15:31 -0700 | [diff] [blame] | 28 | - wget https://github.com/bazelbuild/bazel/releases/download/"${BAZEL_VERSION}"/bazel_"${BAZEL_VERSION}"-linux-x86_64.deb |
| 29 | - sudo dpkg -i bazel_"${BAZEL_VERSION}"-linux-x86_64.deb |
Nguyen Truong Tho | c25c741 | 2015-03-27 04:09:29 +0700 | [diff] [blame] | 30 | - sudo rm -f /etc/mavenrc |
| 31 | - wget http://www.us.apache.org/dist/maven/maven-3/3.1.1/binaries/apache-maven-3.1.1-bin.tar.gz |
ronshapiro | 6589c99 | 2017-05-01 08:23:27 -0700 | [diff] [blame] | 32 | - tar -zxf apache-maven-3.1.1-bin.tar.gz |
| 33 | - export PATH="$PWD/apache-maven-3.1.1/bin:$PATH" |
ronshapiro | 9f51361 | 2017-05-01 08:47:25 -0700 | [diff] [blame] | 34 | - mkdir travis_bin |
| 35 | - ln -s $(which gcc-4.8) travis_bin/gcc |
| 36 | - ln -s $(which g++-4.8) travis_bin/g++ |
| 37 | - export PATH="${PWD}/travis_bin:${PATH}" |
Nguyen Truong Tho | c25c741 | 2015-03-27 04:09:29 +0700 | [diff] [blame] | 38 | |
ronshapiro | d116659 | 2017-03-15 10:36:54 -0700 | [diff] [blame] | 39 | script: bazel test --test_output errors //... |
Jake Wharton | 3d46feb | 2012-11-07 13:01:00 -0800 | [diff] [blame] | 40 | |
Christian Edward Gruber | b767f8a | 2014-10-07 09:55:00 -0700 | [diff] [blame] | 41 | env: |
| 42 | global: |
Christian Edward Gruber | 113c9a9 | 2014-10-10 13:10:48 -0700 | [diff] [blame] | 43 | - secure: eGc3LHBRIPmTnXLM1YoIqG1do9BkpFI2pJm3fz5Cd8UaXtf7Oefa+Ts3rcn4ipee5A+lf8kEouPshSoaQs81KZ2/qf8rSTCIqeFjHR8hzmOVYo/0zRfS/VSUT0yqN+jeRhuNk3+A49RTPlcfJqPv3tyddtrM1vF7axhCJPQIRJM= |
| 44 | - secure: LTzrlqcSNeZTOV52D3ibY9RBdxY4Yu8dUOYhAonrWLE+eDTzuoyCzcPw8pEcYVNUi1rG6Q7v3QBDTnBztsPoCbcN5tEGjw5cQEbfEzSTkWaNCFjncWn36cLwx9lgbF+5Db/L0mYJ36unDKUpKVC8AgOtxQibfv/ffugfxxj8ohY= |
Christian Edward Gruber | b767f8a | 2014-10-07 09:55:00 -0700 | [diff] [blame] | 45 | - secure: PEdRiHTy+xVFPnlBwOhr7RVW/QIFSgd4hO0LESRBeF7KGIjxTZWtKPjnYrysZFm6tozMk6WBVJO6avOss0v7L64nemwpCnSspNYBa6pRGPgQ3rv/wgdPSzqDDmABmpPC18EHbUtF94KVdRX3Cr4kmwKQyD+YUKNRCY11Txt+xfo= |
ronshapiro | 898bc22 | 2016-11-09 08:25:26 -0800 | [diff] [blame] | 46 | - JDK_FOR_PUBLISHING: *jdk_for_publishing |
ronshapiro | ebee36e | 2017-10-23 12:40:24 -0700 | [diff] [blame^] | 47 | - BAZEL_VERSION="0.7.0" |
Christian Edward Gruber | b767f8a | 2014-10-07 09:55:00 -0700 | [diff] [blame] | 48 | |
| 49 | after_success: |
| 50 | - util/generate-latest-docs.sh |
| 51 | - util/publish-snapshot-on-commit.sh |
| 52 | |
Jake Wharton | 3d46feb | 2012-11-07 13:01:00 -0800 | [diff] [blame] | 53 | branches: |
cgruber | b2bcc80 | 2016-03-03 11:46:56 -0800 | [diff] [blame] | 54 | only: |
| 55 | - master |
| 56 | - /^release.*$/ |