Skip to content

Commit 292fe4f

Browse files
committed
(build) A completely different travis.yml.
1 parent dc9b46a commit 292fe4f

File tree

1 file changed

+32
-12
lines changed

1 file changed

+32
-12
lines changed

.travis.yml

Lines changed: 32 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,34 @@
1-
sudo: false
2-
language:
3-
android
4-
jdk:
5-
- oraclejdk8
1+
language: android
2+
63
android:
7-
components:
8-
- platform-tools
9-
- build-tools-23.0.1
10-
- android-23
11-
- extra-android-m2repository
12-
- sys-img-armeabi-v7a-android-19
4+
components:
5+
- platform-tools
6+
- build-tools-23.0.1
7+
- android-23
8+
- extra-android-m2repository
9+
- sys-img-armeabi-v7a-android-19
10+
11+
before_cache:
12+
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
13+
14+
cache:
15+
directories:
16+
- .nvm
17+
- $HOME/.gradle/caches/
18+
- $HOME/.gradle/wrapper/
19+
20+
install:
21+
- nvm install 4
22+
- npm install -g nativescript --ignore-scripts
23+
- tns usage-reporting disable
24+
25+
before_script:
26+
- echo no | android create avd --force -n test -t android-19 -b armeabi-v7a
27+
- emulator -avd test -no-audio -no-window &
28+
- android-wait-for-emulator
29+
1330
script:
14-
- ./build/run-tests.sh
31+
- cd ./tests
32+
- npm install
33+
- tns platform add android
34+
- tns test android --emulator

0 commit comments

Comments
 (0)