forked from zulip/zulip-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (40 loc) · 1.23 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
47
48
49
language: android
jdk: oraclejdk8
env:
global:
- ANDROID_HOME=${TRAVIS_BUILD_DIR}/android-sdk
- PATH=${ANDROID_HOME}/:${ANDROID_HOME}/tools/:${ANDROID_HOME}/platform-tools/:${PATH}
android:
components:
# all the android components used in the zulip-mobile and it's dependencies
- tools
- platform-tools
- build-tools-28.0.3
- android-27 # corresponds to compileSdkVersion
- extra-google-m2repository
- extra-android-m2repository
- extra-google-android-support
licenses:
- 'android-sdk-license-.+'
notifications:
email: false
webhooks:
urls:
- https://zulip.org/zulipbot/travis
on_success: always
on_failure: always
install:
- nvm install 8
- node --version
- npm i yarn -g
- yarn
# See the mention of `inotify` in docs/. If we attempt assembleRelease,
# then without this line the JS bundle step fails with a baffling ENOSPC
# error, even though there's tons of free space on the filesystem.
- echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
script:
- tools/test --full --coverage
- tools/verify-webview-js
- cd android && ./gradlew assembleDebug
env:
- COVERALLS_REPO_TOKEN=4eYQDtWoBJlDz2QkxoQ2UcnmJFcOB7zkv