This repository has been archived by the owner on Oct 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
47 lines (46 loc) · 1.62 KB
/
.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
os:
- linux
language: android
android:
components:
- platform-tools
- tools
- build-tools-28.0.3
- android-30
- add-on
- extra
licenses:
- android-sdk-license-.+
jdk:
- oraclejdk8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++6
- fonts-droid
before_install:
- yes | sdkmanager --update
before_script:
- git clone https://github.com/flutter/flutter.git -b stable --depth 1
- export PATH="$PATH:`pwd`/flutter/bin"
script:
- flutter packages get
- flutter precache
- yes | flutter doctor --android-licenses
- flutter doctor && flutter -v build apk
- mv ./build/app/outputs/apk/release/app-release.apk ./TravisCI-$(git describe --tags).apk
cache:
directories:
- $HOME/.pub-cache
deploy:
cleanup: false
provider: releases
api_key:
secure: 1kNh9GgqZchvGnXoiIzpESRE0YeZpa4DkbJ3Tq8vv1HWqSXN9JKGDhjrPJikdKlOIeDBYeWJOD/fhATMQj3UZGtEKLP54ESYfH6wLH9haFj0VMKurzXBOlBX/r0sT0MUMv57jaxTqz4zPMlHVSLtt3IHCjxfEj8nEF3FjWueIvLfues1Rjk+ZD5uDochnb9XcnNTeRthj+Zz4B23I+0dpZr4qlRJAQ9D9OAJiwr+Vvi9XBuvwJgGzIMmQI/meAyL1ro1G5EKnONLO64apwR0Z8nOWQ/kmEDSBolun7sNaOznLWjCZr+9a95P3Rj2g3GcCDXXvcsZaN+4/XuR008Nbq2fe0GENqqObTvAYEZM56Q1h6TJWfHqeJT9kSvKkNjr263AqWRn8YAYMwleUePZ8hheTKjY8xCo/xrAIX3pRiaO3JRzD7mfjmaY/TdzNKsD7lQ3s6TEigiICtY9k6ahoQlfQ2QQ6n65siZKU2MjpCNUmvlGzK/u/x7HHTquRiSD7DkId82qJMflRJKEmM9sfaRjmwT4nn+vA5pzPPv9zgRZ2QWEbe5r8a3sTaw3WudP7fYDrcslzVVBfvBpf1uLB6nJ5n7QnjhFvlEO7lONQuBIZJuqii+/3RAcjpba7AA06FEEmScbbAmX3r61IPrtEtmunhRxlQ5sq6oOxJUhXBQ=
file: ./TravisCI-$(git describe --tags).apk
on:
repo: Flutter-OpenHub/travis_ci
tags: true
edge: true