forked from MerginMaps/mobile
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
33 lines (28 loc) · 872 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
language: python
python:
- 3.5
rvm:
- 2.0.0
services:
- docker
before_install:
- if [ -n "${STOREPASS}" ]; then openssl aes-256-cbc -K $encrypted_d617236a007d_key -iv $encrypted_d617236a007d_iv -in Input_keystore.keystore.enc -out Input_keystore.keystore -d; fi;
- gem update bundler
- gem --version
- pip3 install dropbox
script:
- export SDK_VERSION=android-5
- export INPUT_SDK=lutraconsulting/input-sdk:${SDK_VERSION}
- docker pull ${INPUT_SDK}
- docker run -v $(pwd):/usr/src/input -e "BUILD_FOLDER=build-${ARCH}" -e "ARCH=${ARCH}" -e "STOREPASS=${STOREPASS}" -e "KEYNAME=${KEYNAME}" -e "VERSION=${TRAVIS_TAG}" ${INPUT_SDK} /usr/src/input/scripts/docker-build.sh
- "./scripts/upload-artifacts.sh"
jobs:
include:
- stage: build
name: "Build armeabi-v7a"
env:
- ARCH=armv7
- stage: build
name: "Build arm64-v8a"
env:
- ARCH=arm64_v8a