Skip to content

Commit 0a2d9a2

Browse files
author
Elena Hristova
committed
add separate test for node_js 8
1 parent 35dad2f commit 0a2d9a2

File tree

1 file changed

+20
-9
lines changed

1 file changed

+20
-9
lines changed

.travis.yml

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,31 @@ matrix:
2222
node_js: "10"
2323
script: cd src && npm run ci.tslint
2424
- stage: "Build and Test"
25-
env:
25+
env:
2626
- BuildAndroid="28"
27+
- NodeJs="8"
2728
- Type="TypeScript"
2829
language: android
2930
os: linux
3031
jdk: oraclejdk8
31-
before_install: nvm install 10
32+
before_install: nvm install 8
3233
script:
3334
- cd src && npm run postclone gitHubUsername=TheGitHubUser pluginName=ThePlugin initGit=y includeTypeScriptDemo=y includeAngularDemo=n
3435
- npm run build
3536
- cd ../demo
37+
- tns build android
38+
- env:
39+
- BuildAndroid="28"
40+
- NodeJs="10"
41+
- Type="TypeScript"
42+
language: android
43+
os: linux
44+
jdk: oraclejdk8
45+
before_install: nvm install 10
46+
script:
47+
- cd src && npm run postclone gitHubUsername=TheGitHubUser pluginName=ThePlugin initGit=y includeTypeScriptDemo=y includeAngularDemo=n
48+
- npm run tsc
49+
- cd ../demo
3650
- travis_wait travis_retry tns build android --copy-to "$ANDROID_PACKAGE_FOLDER_JS/$ANDROID_PACKAGE_JS"
3751
- "curl -u $SAUCE_USER:$SAUCE_KEY -X POST -H 'Content-Type: application/octet-stream' $ANDROID_SAUCE_STORAGE/$ANDROID_PACKAGE_JS?overwrite=true --data-binary @$ANDROID_PACKAGE_FOLDER_JS/$ANDROID_PACKAGE_JS"
3852
- os: osx
@@ -41,14 +55,11 @@ matrix:
4155
- Type="TypeScript"
4256
osx_image: xcode10.2
4357
language: node_js
44-
node_js:
45-
- "8"
46-
- "10"
47-
- "12"
58+
node_js: "10"
4859
jdk: oraclejdk8
4960
script:
5061
- cd src && npm run postclone gitHubUsername=TheGitHubUser pluginName=ThePlugin initGit=y includeTypeScriptDemo=y includeAngularDemo=n
51-
- npm run build
62+
- npm run tsc
5263
- cd ../demo
5364
- travis_wait travis_retry tns build ios --copy-to "./outputs/demo.app"
5465
- cd $IOS_PACKAGE_FOLDER_JS && zip -r $IOS_PACKAGE_JS demo.app
@@ -62,7 +73,7 @@ matrix:
6273
before_install: nvm install 10
6374
script:
6475
- cd src && npm run postclone gitHubUsername=TheGitHubUser pluginName=ThePlugin initGit=y includeTypeScriptDemo=n includeAngularDemo=y
65-
- npm run build
76+
- npm run tsc
6677
- cd ../demo-angular
6778
- travis_wait travis_retry tns build android --copy-to "$ANDROID_PACKAGE_FOLDER_NG/$ANDROID_PACKAGE_NG"
6879
- "curl -u $SAUCE_USER:$SAUCE_KEY -X POST -H 'Content-Type: application/octet-stream' $ANDROID_SAUCE_STORAGE/$ANDROID_PACKAGE_NG?overwrite=true --data-binary @$ANDROID_PACKAGE_FOLDER_NG/$ANDROID_PACKAGE_NG"
@@ -76,7 +87,7 @@ matrix:
7687
jdk: oraclejdk8
7788
script:
7889
- cd src && npm run postclone gitHubUsername=TheGitHubUser pluginName=ThePlugin initGit=y includeTypeScriptDemo=n includeAngularDemo=y
79-
- npm run build
90+
- npm run tsc
8091
- cd ../demo-angular
8192
- travis_wait travis_retry tns build ios --copy-to "./outputs/demo-angular.app"
8293
- cd $IOS_PACKAGE_FOLDER_NG && zip -r $IOS_PACKAGE_NG demo-angular.app

0 commit comments

Comments
 (0)