forked from zulip/zulip-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
52 lines (42 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
50
51
52
dist: trusty
language: android
jdk: oraclejdk8
env:
global:
- COVERALLS_REPO_TOKEN=4eYQDtWoBJlDz2QkxoQ2UcnmJFcOB7zkv
jobs:
- TEST_SUITE=''
# Pirlo suite disabled until we adjust the test script to match
# changes in order to accomodate #3750.
# - TEST_SUITE=pirlo
android:
components:
# all the android components used in the zulip-mobile and it's dependencies
- tools
- platform-tools
- build-tools-28.0.3
- android-29 # 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 10
- 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:
- TERM=dumb tools/test --full ${TEST_SUITE}
- tools/verify-webview-js