File tree 2 files changed +20
-13
lines changed
2 files changed +20
-13
lines changed Original file line number Diff line number Diff line change 3
3
- NODE_VERSION=6.9.1
4
4
- DATE=$(date +%Y-%m-%d)
5
5
- PACKAGE_VERSION=$DATE-$TRAVIS_BUILD_NUMBER
6
+ - EMULATOR_API_LEVEL=19
7
+ - ANDROID_VERSION=23
8
+ - ANDROID_BUILD_TOOLS_VERSION=23.0.1
9
+ - ANDROID_ABI=armeabi-v7a
10
+ - ANDROID_TAG=google_apis
11
+ - APPIUM_VERSION=1.6.3
6
12
language : android
7
13
jdk :
8
14
- oraclejdk8
9
15
android :
10
16
components :
11
17
- platform-tools
12
- - build-tools-23.0.2
13
- - android-23
18
+ - tools
19
+ - build-tools-$ANDROID_BUILD_TOOLS_VERSION
20
+ - android-$ANDROID_VERSION
14
21
- extra-android-m2repository
15
- - sys-img-armeabi-v7a-android-23
22
+ - sys-img-armeabi-v7a-android-$EMULATOR_API_LEVEL
16
23
before_cache :
17
24
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
18
25
cache :
@@ -31,16 +38,16 @@ install:
31
38
- npm run tslint
32
39
- cd ../tests
33
40
- npm install
34
- - tns platform add android
35
41
before_script :
36
- - echo no | android create avd --force -n test -t android-23 -abi armeabi-v7a
37
- - emulator -memory 1024 -avd test -no-audio -no-window &
42
+ - echo no | android create avd --force -n test -t android-$EMULATOR_API_LEVEL --abi $ANDROID_ABI
43
+ - emulator -memory 1024 -avd test -no-audio -no-window &
44
+ - android-wait-for-emulator
38
45
script :
39
- -
40
- -
46
+ -
47
+ -
41
48
- tns build android
42
49
- android-wait-for-emulator
43
- - npm run appium --runtype=android23
50
+ - npm run run- appium-android
44
51
before_deploy :
45
52
- cd ../nativescript-angular
46
53
- npm install -g nativescript --ignore-scripts
Original file line number Diff line number Diff line change 2
2
"nativescript" : {
3
3
"id" : " org.nativescript.ngtests" ,
4
4
"tns-android" : {
5
- "version" : " 2.5 .0"
5
+ "version" : " 3.0 .0"
6
6
},
7
7
"tns-ios" : {
8
- "version" : " 2.5 .0"
8
+ "version" : " 3.0 .0"
9
9
}
10
10
},
11
11
"name" : " ngtests" ,
38
38
"nativescript-angular" : " ../nativescript-angular" ,
39
39
"nativescript-unit-test-runner" : " ^0.3.4" ,
40
40
"rxjs" : " ^5.2.0" ,
41
- "tns-core-modules" : " next " ,
41
+ "tns-core-modules" : " ^3.0.0 " ,
42
42
"zone.js" : " ^0.8.2"
43
43
},
44
44
"devDependencies" : {
56
56
"karma-nativescript-launcher" : " ^0.4.0" ,
57
57
"lazy" : " 1.0.11" ,
58
58
"mocha" : " ^2.4.5" ,
59
- "nativescript-dev-appium" : " ^0.3.0 " ,
59
+ "nativescript-dev-appium" : " 0.0.14 " ,
60
60
"nativescript-dev-typescript" : " ^0.4.0" ,
61
61
"socket.io" : " 1.4.8" ,
62
62
"socket.io-client" : " 1.4.8" ,
You can’t perform that action at this time.
0 commit comments