Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 428136b

Browse files
committedApr 14, 2017
chore(ci-build): Let android tests run on travis
1 parent 0e967db commit 428136b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
 

‎.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ script:
4141
- tns build android
4242
- android-wait-for-emulator
4343
- npm run run-appium-android
44+
- npm run test
4445
before_deploy:
4546
- cd ../nativescript-angular
4647
- npm install -g nativescript --ignore-scripts

‎tests/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@
6565
"wd": "0.4.0"
6666
},
6767
"scripts": {
68+
"test": "npm run test-android",
69+
"test-android": "tns test android --emulator --justlaunch",
70+
"test-ios": "tns test ios --emulator --justlaunch",
6871
"updateTests": "grunt updateTests",
6972
"appium-android": "tns build android && npm run run-appium-android",
7073
"run-appium-android": "nativescript-dev-appium android",

0 commit comments

Comments
 (0)
Please sign in to comment.