Skip to content

Commit

Permalink
Use top-level matrix idiom (crossbario#485)
Browse files Browse the repository at this point in the history
* use top-level matrix idiom

* empty commit
  • Loading branch information
om26er authored Jun 3, 2020
1 parent 5b01167 commit 73e9049
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
language: android
android:
components:
- tools
- platform-tools
- tools
- build-tools-29.0.2
- android-29
licenses:
- 'android-sdk-preview-license-.+'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'

services:
- docker

install:
- if [[ $(git diff --name-only $TRAVIS_COMMIT_RANGE) =~ "docker/Dockerfile.netty" ]]; then docker build -t crossbario/autobahn-java:netty -f ./docker/Dockerfile.netty .; fi

before_script:
- docker run -d -p 8080:8080 --name crossbar crossbario/crossbar
- docker run -d --link crossbar -v ${PWD}/demo-gallery/python:/test crossbario/autobahn-python python -u /test/test_component2.py

script:
- ./gradlew :autobahn:build connectedCheck
- docker run --rm -it --link crossbar -v ${PWD}:/workspace crossbario/autobahn-java:netty /bin/bash -c "gradle installDist -PbuildPlatform=netty && /workspace/demo-gallery/build/install/demo-gallery/bin/demo-gallery ws://crossbar:8080/ws"
matrix:
include:
- language: android
android:
components:
- tools
- platform-tools
- tools
- build-tools-29.0.2
- android-29
licenses:
- 'android-sdk-preview-license-.+'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
script:
- ./gradlew :autobahn:build connectedCheck
- language: minimal
services:
- docker
install:
- if [[ $(git diff --name-only $TRAVIS_COMMIT_RANGE) =~ "docker/Dockerfile.netty" ]]; then docker build -t crossbario/autobahn-java:netty -f ./docker/Dockerfile.netty .; fi
before_script:
- docker run -d -p 8080:8080 --name crossbar crossbario/crossbar
- docker run -d --link crossbar -v ${PWD}/demo-gallery/python:/test crossbario/autobahn-python python -u /test/test_component2.py
script:
- docker run --rm -it --link crossbar -v ${PWD}:/workspace crossbario/autobahn-java:netty /bin/bash -c "gradle installDist -PbuildPlatform=netty && /workspace/demo-gallery/build/install/demo-gallery/bin/demo-gallery ws://crossbar:8080/ws"

deploy:
provider: releases
Expand Down

0 comments on commit 73e9049

Please sign in to comment.