Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 16 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,23 @@ env:
- NODE_VERSION=6.9.1
- DATE=$(date +%Y-%m-%d)
- PACKAGE_VERSION=$DATE-$TRAVIS_BUILD_NUMBER
- EMULATOR_API_LEVEL=19
- ANDROID_VERSION=23
- ANDROID_BUILD_TOOLS_VERSION=23.0.1
- ANDROID_ABI=armeabi-v7a
- ANDROID_TAG=google_apis
- APPIUM_VERSION=1.6.3
language: android
jdk:
- oraclejdk8
android:
components:
- platform-tools
- build-tools-23.0.2
- android-23
- tools
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
- android-$ANDROID_VERSION
- extra-android-m2repository
- sys-img-armeabi-v7a-android-23
- sys-img-armeabi-v7a-android-$EMULATOR_API_LEVEL
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
Expand All @@ -31,16 +38,16 @@ install:
- npm run tslint
- cd ../tests
- npm install
- tns platform add android
before_script:
- echo no | android create avd --force -n test -t android-23 -abi armeabi-v7a
- emulator -memory 1024 -avd test -no-audio -no-window &
- echo no | android create avd --force -n test -t android-$EMULATOR_API_LEVEL --abi $ANDROID_ABI
- emulator -memory 1024 -avd test -no-audio -no-window &
- android-wait-for-emulator
script:
-
-
-
-
- tns build android
- android-wait-for-emulator
- npm run appium --runtype=android23
- npm run run-appium-android
before_deploy:
- cd ../nativescript-angular
- npm install -g nativescript --ignore-scripts
Expand Down
8 changes: 4 additions & 4 deletions tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"nativescript": {
"id": "org.nativescript.ngtests",
"tns-android": {
"version": "2.5.0"
"version": "3.0.0"
},
"tns-ios": {
"version": "2.5.0"
"version": "3.0.0"
}
},
"name": "ngtests",
Expand Down Expand Up @@ -38,7 +38,7 @@
"nativescript-angular": "../nativescript-angular",
"nativescript-unit-test-runner": "^0.3.4",
"rxjs": "^5.2.0",
"tns-core-modules": "next",
"tns-core-modules": "^3.0.0",
"zone.js": "^0.8.2"
},
"devDependencies": {
Expand All @@ -56,7 +56,7 @@
"karma-nativescript-launcher": "^0.4.0",
"lazy": "1.0.11",
"mocha": "^2.4.5",
"nativescript-dev-appium": "^0.3.0",
"nativescript-dev-appium": "0.0.14",
"nativescript-dev-typescript": "^0.4.0",
"socket.io": "1.4.8",
"socket.io-client": "1.4.8",
Expand Down