Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
66 lines (65 sloc) 1.49 KB
stages:
- test_and_upload
- name: publish
if: branch = master
jobs:
include:
- os: linux
stage: test_and_upload
language: android
android:
components:
- build-tools-28.0.3
- android-28
jdk: oraclejdk8
env:
KBUILD=linux-chrome-android
JAVA_OPTS=-Xmx2g
before_install:
- echo before_install
install:
- echo install
before_script:
- echo before_script
script:
- ./gradlew -s -i assemble check lint testDebugUnitTest
- os: windows
stage: test_and_upload
env: KBUILD=windows
language: shell # java is not supported but jdk is installed
script:
- powershell -Command "cmd /c travis_win.bat"
- os: osx
stage: test_and_upload
env:
KBUILD=macos
JAVA_OPTS=-Xmx2g
language: java
jdk: openjdk10
before_install:
- cp $(/usr/libexec/java_home)/lib/security/cacerts "${JAVA_HOME}/lib/security/cacerts"
install:
- echo install
before_script:
- echo before_script
script:
- ./gradlew check localPublishToBintrayIfRequiredOnTravisMasterNoPR
- os: linux
stage: publish
language: android
android:
components:
- build-tools-28.0.3
- android-28
jdk: oraclejdk8
env:
KBUILD=publish
JAVA_OPTS=-Xmx2g
before_install:
- echo before_instal
install:
- echo install
before_script:
- echo before_script
script:
- ./gradlew actuallyPublishBintrayIfOnTravisMasterNoPR
You can’t perform that action at this time.