diff --git a/.travis.yml b/.travis.yml index 947699d..540b19f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,14 @@ services: install: "pip install -r requirements.txt" +env: + matrix: + - ANDROID_VERSION=5.0.1 + - ANDROID_VERSION=5.1.1 + - ANDROID_VERSION=6.0 + - ANDROID_VERSION=7.0 + - ANDROID_VERSION=7.1.1 + script: bash travis.sh after_success: diff --git a/travis.sh b/travis.sh index 3ed730a..313ca32 100755 --- a/travis.sh +++ b/travis.sh @@ -7,8 +7,8 @@ if [ -z "$TRAVIS_TAG" ]; then else echo "Log in to docker hub" docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" - echo "RUN UNIT TEST, BUILD DOCKER IMAGES AND PUSH THOSE TO DOCKER HUB" - bash release.sh all all all $TRAVIS_TAG + echo "[Version: $ANDROID_VERSION] RUN UNIT TEST, BUILD DOCKER IMAGES AND PUSH THOSE TO DOCKER HUB" + bash release.sh all $ANDROID_VERSION all $TRAVIS_TAG echo "Log out of docker hub" docker logout fi