Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 27268cc

Browse files
author
Zdravko
authored
Merge pull request #85 from NativeScript/zbranzov/api26
Migrate to latest android and ios versions and use parallel builds.
2 parents 6bcfcf3 + 4ada551 commit 27268cc

File tree

1 file changed

+24
-16
lines changed

1 file changed

+24
-16
lines changed

.travis.yml

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,36 +8,35 @@ matrix:
88
os: linux
99
node_js: "6"
1010
script: cd src && npm run ci.tslint && cd ../demo && npm run ci.tslint
11-
- stage: "WebPack"
11+
- stage: "Build webpack and Test"
1212
os: osx
1313
env:
14-
- Platform="iOS"
15-
osx_image: xcode8.3
14+
- Webpack="iOS"
15+
osx_image: xcode9.1
1616
language: node_js
1717
node_js: "6"
1818
jdk: oraclejdk8
1919
script: cd demo && npm run build.plugin && npm i && npm run build-ios-bundle
20-
- language: android
21-
os: linux
20+
- os: linux
21+
language: android
2222
env:
23-
- Platform="Android"
23+
- Webpack="Android"
2424
jdk: oraclejdk8
2525
before_install: nvm install 6.10.3
2626
script: cd demo && npm run build.plugin && npm i && npm run build-android-bundle
27-
- stage: "Build and Test"
27+
- os: linux
2828
env:
29-
- BuildAndroid="25"
29+
- BuildAndroid="26"
3030
language: android
31-
os: linux
3231
jdk: oraclejdk8
3332
before_install: nvm install stable
3433
script:
3534
- cd src && npm i && npm run tsc && cd ../demo && tns build android
3635
- os: osx
3736
env:
38-
- BuildiOS="10.3"
39-
- Xcode="8.3"
40-
osx_image: xcode8.3
37+
- BuildiOS="11"
38+
- Xcode="9.1"
39+
osx_image: xcode9.1
4140
language: node_js
4241
node_js: "6"
4342
jdk: oraclejdk8
@@ -47,26 +46,35 @@ matrix:
4746
language: android
4847
dist: precise
4948
jdk: oraclejdk8
49+
env:
50+
- Android="UnitTests"
5051
before_script:
5152
- echo no | android create avd --force -n test -t android-21 -b armeabi-v7a
5253
- emulator -avd test -no-audio -no-window &
5354
- android-wait-for-emulator
5455
before_install:
5556
- nvm install 6
56-
script: cd src && npm run test.android
57+
script:
58+
- cd src && npm i && npm run tsc && npm run tslint && cd ../demo && tns build android
59+
- travis_wait travis_retry tns test android --justlaunch
5760
- os: osx
5861
language: node_js
5962
node_js: "6"
6063
jdk: oraclejdk8
64+
env:
65+
- iOS="UnitTests"
6166
osx_image: xcode8.3
62-
script: cd src && npm run test.ios
67+
script:
68+
- cd src && npm i && npm run tsc && npm run tslint && cd ../demo && tns build ios
69+
- travis_wait travis_retry tns test ios --justlaunch
6370

6471
android:
6572
components:
73+
- tools
6674
- tools
6775
- platform-tools
68-
- build-tools-25.0.2
69-
- android-25
76+
- build-tools-26.0.1
77+
- android-26
7078
- extra-android-m2repository
7179
- sys-img-armeabi-v7a-android-21
7280

0 commit comments

Comments
 (0)