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
39 changes: 22 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ matrix:
- stage: "Lint"
language: node_js
os: linux
node_js: "8"
node_js: "10"
script: cd src && npm run ci.tslint && cd ../demo && npm run ci.tslint && cd ../demo-angular && npm run ci.tslint
- stage: "Build and WebPack"
os: osx
Expand All @@ -28,7 +28,7 @@ matrix:
- Type="VanillaJS"
osx_image: xcode10.0
language: node_js
node_js: "8"
node_js: "10"
jdk: oraclejdk8
script:
- cd demo && npm run build.plugin
Expand All @@ -41,7 +41,7 @@ matrix:
- Type="Angular"
osx_image: xcode10.0
language: node_js
node_js: "8"
node_js: "10"
jdk: oraclejdk8
script:
- cd src && npm run build && npm pack
Expand All @@ -53,7 +53,7 @@ matrix:
- Type="VueJS"
osx_image: xcode10.0
language: node_js
node_js: "8"
node_js: "10"
jdk: oraclejdk8
script:
- cd src && npm run build
Expand All @@ -62,54 +62,59 @@ matrix:
- "curl -u $SAUCE_USER:$SAUCE_KEY -X POST -H 'Content-Type: application/octet-stream' $IOS_SAUCE_STORAGE/$IOS_PACKAGE_VUE?overwrite=true --data-binary @$IOS_PACKAGE_FOLDER_VUE/$IOS_PACKAGE_VUE"
- language: android
os: linux
dist: trusty
env:
- WebpackAndroid="28"
- Type="VanillaJS"
jdk: oraclejdk8
before_install: nvm install 8
before_install: nvm install 10
script:
- cd src && npm run build
- cd ../demo && npm i && tns build android --bundle --env.uglify --env.snapshot --copy-to "./outputs/app-debug.apk"
- "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/app-debug.apk"
- language: android
os: linux
dist: trusty
env:
- WebpackAndroid="28"
- Type="VueJS"
jdk: oraclejdk8
before_install: nvm install 8
before_install: nvm install 10
script:
- cd src && npm run build
- cd ../demo-vue && npm i && tns build android --bundle --env.uglify --copy-to "./outputs/app-debug.apk"
- "curl -u $SAUCE_USER:$SAUCE_KEY -X POST -H 'Content-Type: application/octet-stream' $ANDROID_SAUCE_STORAGE/$ANDROID_PACKAGE_VUE?overwrite=true --data-binary @$ANDROID_PACKAGE_FOLDER_VUE/app-debug.apk"
- language: android
os: linux
dist: trusty
env:
- WebpackAndroid="28"
- Type="Angular"
jdk: oraclejdk8
before_install: nvm install 8
before_install: nvm install 10
script:
- cd src && npm run build
- cd ../publish && sh pack.sh
- cd ../demo-angular && tns plugin add ../publish/package/*.tgz
- npm i && tns build android --bundle --env.uglify --env.snapshot --env.aot
- language: android
os: linux
dist: trusty
env:
- BuildAndroid="28"
- Type="VanillaJS"
os: linux
jdk: oraclejdk8
before_install: nvm install 8.11.4
before_install: nvm install 10
script:
- cd demo && npm run ci.android.build
- language: android
os: linux
dist: trusty
env:
- BuildAndroid="28"
- Type="Angular"
os: linux
jdk: oraclejdk8
before_install: nvm install 8.11.4
before_install: nvm install 10
script:
- cd demo-angular && npm run ci.android.build
- os: osx
Expand All @@ -119,7 +124,7 @@ matrix:
- Type="VanillaJS"
osx_image: xcode10.0
language: node_js
node_js: "8"
node_js: "10"
jdk: oraclejdk8
script:
- cd demo && npm run ci.ios.build
Expand All @@ -130,7 +135,7 @@ matrix:
- Type="Angular"
osx_image: xcode10.0
language: node_js
node_js: "8"
node_js: "10"
jdk: oraclejdk8
script:
- cd demo-angular && npm run ci.ios.build
Expand All @@ -140,7 +145,7 @@ matrix:
- Type="VanillaJS"
language: node_js
os: linux
node_js: "8"
node_js: "10"
script:
- npm i -g appium
- cd demo && npm i
Expand All @@ -151,7 +156,7 @@ matrix:
- Type="VueJS"
language: node_js
os: linux
node_js: "8"
node_js: "10"
script:
- npm i -g appium
- cd demo-vue && npm i
Expand All @@ -161,7 +166,7 @@ matrix:
- iOS="12.0"
- Type="VanillaJS"
language: node_js
node_js: "8"
node_js: "10"
script:
- npm i -g appium
- cd demo && npm i
Expand All @@ -171,7 +176,7 @@ matrix:
- iOS="12.0"
- Type="VueJS"
language: node_js
node_js: "8"
node_js: "10"
script:
- npm i -g appium
- cd demo-vue && npm i
Expand Down
29 changes: 16 additions & 13 deletions demo-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,29 @@
"ci.ios.build": "cd ../src && npm run build && cd ../demo-angular && tns build ios"
},
"dependencies": {
"@angular/animations": "~7.2.0",
"@angular/common": "~7.2.0",
"@angular/compiler": "~7.2.0",
"@angular/core": "~7.2.0",
"@angular/forms": "~7.2.0",
"@angular/http": "~7.2.0",
"@angular/platform-browser": "~7.2.0",
"@angular/platform-browser-dynamic": "~7.2.0",
"@angular/router": "~7.2.0",
"nativescript-angular": "~7.2.0",
"@angular/animations": "~8.0.0",
"@angular/common": "~8.0.0",
"@angular/compiler": "~8.0.0",
"@angular/core": "~8.0.0",
"@angular/forms": "~8.0.0",
"@angular/http": "8.0.0-beta.10",
"@angular/platform-browser": "~8.0.0",
"@angular/platform-browser-dynamic": "~8.0.0",
"@angular/router": "~8.0.0",
"nativescript-angular": "~8.0.0",
"nativescript-camera": "../src",
"nativescript-theme-core": "^1.0.4",
"rxjs": "^6.3.3",
"tns-core-modules": "^5.0.0",
"zone.js": "^0.8.4"
"zone.js": "^0.8.4",
"typescript": "~3.4.5"
},
"devDependencies": {
"@angular/compiler-cli": "~8.0.0",
"@ngtools/webpack": "~8.0.0",
"nativescript-css-loader": "~0.26.0",
"nativescript-dev-typescript": "~0.9.0",
"nativescript-dev-webpack": "~0.22.0",
"nativescript-dev-typescript": "~0.10.0",
"nativescript-dev-webpack": "~0.24.0",
"tns-platform-declarations": "^5.0.0",
"tslint": "~5.11.0"
}
Expand Down
4 changes: 2 additions & 2 deletions demo-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"mocha-multi": "^1.0.1",
"mochawesome": "^3.1.1",
"nativescript-dev-appium": "~5.2.0",
"nativescript-dev-typescript": "~0.9.0",
"nativescript-dev-webpack": "~0.22.0",
"nativescript-dev-typescript": "~0.10.0",
"nativescript-dev-webpack": "~0.24.0",
"nativescript-vue-template-compiler": "~2.2.0",
"node-sass": "~4.9.0",
"tslint": "~5.12.1",
Expand Down
4 changes: 2 additions & 2 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
"mochawesome": "^3.1.1",
"nativescript-css-loader": "~0.26.1",
"nativescript-dev-appium": "~5.2.0",
"nativescript-dev-typescript": "~0.9.0",
"nativescript-dev-webpack": "~0.22.0",
"nativescript-dev-typescript": "~0.10.0",
"nativescript-dev-webpack": "~0.24.0",
"tns-platform-declarations": "^5.0.0",
"tslint": "~5.11.0"
}
Expand Down