Skip to content

Commit ec16637

Browse files
committed
Do better testing on travis
1 parent 9f23870 commit ec16637

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@ install:
55
- yarn install
66
script:
77
- npm test
8-
- npm start -- build
9-
- npm start -- mobile.setup
8+
- npm start build
9+
- npm start webpack.build.production
10+
- npm start mobile.setup
11+
- npm start mobile.cordova.addbowser
12+
- npm start mobile.build
1013
notifications:
1114
email: false
1215
hipchat: 861e4f14f03ed33d069f1083a6c9f5@2679708

package-scripts.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,11 @@ module.exports = {
112112
clean: series(
113113
rimraf('./cordova/platforms'),
114114
rimraf('./cordova/plugins')
115-
)
115+
),
116+
addbowser: ifWindows(
117+
'cd .\\cordova && .\\..\\node_modules\\.bin\\cordova platform add browser',
118+
'cd ./cordova && ./../node_modules/.bin/cordova platform add browser'
119+
),
116120
}
117121
}
118122
},

0 commit comments

Comments
 (0)