Skip to content

Commit

Permalink
Merge pull request #221 from NativeScript/hristova/update-travis-yml
Browse files Browse the repository at this point in the history
chore: update to node 10, set trusty distribution
  • Loading branch information
elena-p authored May 31, 2019
2 parents edca898 + 7544e49 commit 905b23a
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ 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: "WebPack, Build and Test"
os: osx
env:
- WebPack="iOS"
osx_image: xcode10.0
language: node_js
node_js: "8"
node_js: "10"
jdk: oraclejdk8
script:
- cd demo && npm run build.plugin && npm i && tns build ios --bundle --env.uglify
Expand All @@ -27,10 +27,11 @@ matrix:
- tns build ios --bundle --env.uglify --env.aot
- language: android
os: linux
dist: trusty
env:
- WebPack="Android"
jdk: oraclejdk8
before_install: nvm install 8.11.4
before_install: nvm install 10
script:
- cd demo && npm run build.plugin && npm i && tns build android --bundle --env.uglify --env.snapshot
- cd ../publish
Expand All @@ -41,11 +42,12 @@ matrix:
- npm i
- tns build android --bundle --env.uglify --env.aot
- language: android
os: linux
dist: trusty
env:
- BuildAndroid="28"
os: linux
jdk: oraclejdk8
before_install: nvm install 8.11.4
before_install: nvm install 10
script:
- cd src && npm i && npm run tsc && cd ../demo && npm i && tns build android && cd ../demo-angular && npm i && tns build android
- os: osx
Expand All @@ -54,7 +56,7 @@ matrix:
- Xcode="10.0"
osx_image: xcode10.0
language: node_js
node_js: "8"
node_js: "10"
jdk: oraclejdk8
script:
- cd src && npm i && npm run tsc && cd ../demo && npm i && tns build ios && cd ../demo-angular && npm i && tns build ios
Expand Down

0 comments on commit 905b23a

Please sign in to comment.