Removed travis from the project

This commit is contained in:
budtmo
2021-06-21 10:11:34 +02:00
parent 5696fe3ea0
commit ed77303a16
2 changed files with 0 additions and 52 deletions
-30
View File
@@ -1,30 +0,0 @@
language: python
python:
- "3.5"
sudo: required
services:
- docker
install: "pip install -r requirements.txt"
env:
- ANDROID_VERSION=5.0.1
- ANDROID_VERSION=5.1.1
- ANDROID_VERSION=6.0
- ANDROID_VERSION=7.0
- ANDROID_VERSION=7.1.1
- ANDROID_VERSION=8.0
- ANDROID_VERSION=8.1
- ANDROID_VERSION=9.0
- ANDROID_VERSION=10.0
- ANDROID_VERSION=11.0
- REAL_DEVICE=True
- GENYMOTION=True
script: bash travis.sh
after_success:
- bash <(curl -s https://codecov.io/bash)
-22
View File
@@ -1,22 +0,0 @@
#!/bin/bash
# Bash version should >= 4 to be able to run this script.
if [ -z "$TRAVIS_TAG" ]; then
echo "UNIT TEST ONLY"
bash release.sh test all all 0.1
else
if [ ! -z "$ANDROID_VERSION" ]; then
echo "Log in to docker hub"
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
echo "[Version: $ANDROID_VERSION] RUN UNIT TEST, BUILD DOCKER IMAGES AND PUSH THOSE TO DOCKER HUB"
bash release.sh all $ANDROID_VERSION $TRAVIS_TAG
elif [ ! -z "$REAL_DEVICE" ]; then
echo "[SUPPORT FOR REAL DEVICE: BUILD DOCKER IMAGES AND PUSH THOSE TO DOCKER HUB ]"
bash release_real.sh all $TRAVIS_TAG
elif [ ! -z "$GENYMOTION" ]; then
echo "[SUPPORT FOR GENYMOTION: BUILD DOCKER IMAGES AND PUSH THOSE TO DOCKER HUB ]"
bash release_genymotion.sh all $TRAVIS_TAG
fi
echo "Log out of docker hub"
docker logout
fi