Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.
Merged
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
28 changes: 28 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,42 @@ matrix:
- cd ../demo-vue
- tns plugin add ../publish/package/*.tgz
- tns build android --bundle --env.uglify --env.aot
- os: linux
language: android
dist: trusty
jdk: oraclejdk8
env:
- Android="UnitTests"
before_script:
- echo no | android create avd --force -n test -t android-21 -b armeabi-v7a
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
before_install:
- nvm install 10
script:
- cd src && npm i && npm run tsc && npm run tslint && cd ../demo && tns build android
- travis_wait travis_retry tns test android --justlaunch
- os: osx
language: node_js
node_js: "10"
jdk: oraclejdk8
env:
- iOS="UnitTests"
osx_image: xcode10.2
before_script: pod repo update
script:
- cd src && npm i && npm run tsc && npm run tslint && cd ../demo && tns build ios
- travis_wait travis_retry tns test ios --justlaunch

android:
components:
- tools
- platform-tools
- build-tools-28.0.3
- android-21
- android-28
- extra-android-m2repository
- sys-img-armeabi-v7a-android-21

before_install:
- sudo pip install --upgrade pip
Expand Down