forked from cesine/pocketsphinx-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (39 loc) · 1.43 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
# https://github.com/mgerhardy/caveexpress/blob/master/.travis.yml
# https://github.com/googlesamples/android-ndk/blob/ba6a5a46cf5c0d4b76e2d56a78f321e4668e6e26/.travis.yml
# https://github.com/travis-ci/travis-ci/issues/8360
# https://github.com/owncloud/android/blob/master/.travis.yml
language: android
jdk:
- oraclejdk8
addons:
apt_packages:
- swig
android:
components:
- tools
- platform-tools
- build-tools-27.0.2
- android-27
before_install:
- cmake --version
- swig -version
- echo "y" | sdkmanager "cmake;3.6.4111459"
- curl -L http://dl.google.com/android/repository/android-ndk-r16b-linux-x86_64.zip -O
- unzip -oq android-ndk-r16b-linux-x86_64.zip && rm android-ndk-r16b-linux-x86_64.zip
- export ANDROID_NDK_HOME=`pwd`/android-ndk-r16b
- git clone https://github.com/cmusphinx/sphinxbase
- git clone https://github.com/cesine/pocketsphinx
- export POCKETSPHINX_HOME=`pwd`/pocketsphinx
- export SPINXBASE_HOME=`pwd`/sphinxbase
before_deploy:
- mv build/outputs/aar/pocketsphinx-android-v0.9-rc1-release.aar build/outputs/aar/pocketsphinx-android-v0.9-rc1.aar
# See also Readme to deploy manually
deploy:
provider: bintray
file: descriptor.json
user: cesine
key:
secure: MX/XIxovXXaiQbbtOnUaUS5NxyLmLGJ0ShBBpujJogUtuERs+GdRnymZx/Bprp5s18AozkpI1ekG3AA/rv/BEzoO61lB5xGF/Zvs3G4QB/WAsLiCZ/iBncSsMqS6/Q+uJYZXw1/JJj02rZ9F2ERpCvvbxPQm9zWlXkc/P8s/5DQ=
# dry-run: true
on:
all_branches: true