This repository has been archived by the owner on Oct 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
79 lines (75 loc) · 2.26 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
branches:
only:
- master
matrix:
include:
# backend-nodejs
- language: node_js
node_js:
- "8"
cache:
directories:
- "backend-nodejs/app/node_modules"
before_install:
- (cd backend-nodejs/app && npm install)
script:
- (cd backend-nodejs/app && npm run lint)
- (cd backend-nodejs/app && npm run build)
# android-java
- language: android
jdk: oraclejdk8
android:
components:
- tools
- platform-tools
- tools
- build-tools-27.0.3
# NOTE: https://stackoverflow.com/questions/47719282/i-cant-build-android-27-tool-27-0-2-with-travis-ci/47726910#47726910
# - android-27
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -rf $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_install:
- yes | sdkmanager "platforms;android-27"
script:
- (cd android-java && ./gradlew check assembleDebug)
#after_success:
# - ./hockyapp.sh
# android-kotlin
- language: android
jdk: oraclejdk8
android:
components:
- tools
- platform-tools
- tools
- build-tools-27.0.3
# NOTE: https://stackoverflow.com/questions/47719282/i-cant-build-android-27-tool-27-0-2-with-travis-ci/47726910#47726910
# - android-27
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -rf $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_install:
- yes | sdkmanager "platforms;android-27"
script:
- (cd android-kotlin && ./gradlew check assembleDebug)
#after_success:
# - ./hockyapp.sh
# - language: objective-c
# os: osx
# osx_image: xcode9.2
# cache:
# - bundler
# - cocoapods
# script:
# - (cd ios-swift && pod repo update && pod install && xcodebuild -workspace skeleton.xcworkspace -scheme skeleton -sdk iphonesimulator11.2 build)
notifications:
email: false