Skip to content
This repository was archived by the owner on Jan 4, 2024. It is now read-only.

Commit 7952c9b

Browse files
authored
Merge pull request #9 from Tanbari/master
Basic Template : Enable Travis Build
2 parents 801ddd2 + 13bf91a commit 7952c9b

4 files changed

Lines changed: 27 additions & 5 deletions

File tree

.travis.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
language: node_js
2+
node_js:
3+
- "8"
4+
before_install:
5+
- npm install --global @ui5/cli
6+
- "export DISPLAY=:99.0"
7+
- "sh -e /etc/init.d/xvfb start"
8+
before_script:
9+
- npm test
10+
- ui5 build -a
11+
deploy:
12+
provider: pages
13+
local-dir: dist
14+
skip-cleanup: true
15+
github-token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
16+
keep-history: true
17+
on:
18+
branch: master
19+
20+

karma-ci.conf.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ module.exports = function(config) {
2424
],
2525
check: {
2626
global: {
27-
statements: 90,
28-
branches: 70,
29-
functions: 90,
30-
lines: 90
27+
statements: 80,
28+
branches: 80,
29+
functions: 70,
30+
lines: 80
3131
}
3232
}
3333
},
@@ -40,6 +40,8 @@ module.exports = function(config) {
4040

4141
reporters: ['progress', 'coverage'],
4242

43+
browserNoActivityTimeout: 30000,
44+
4345
browsers: ['ChromeHeadless'],
4446

4547
singleRun: true

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"chrome-headless-launcher": "^0.1.5",
2727
"karma-coverage": "^1.1.2",
2828
"karma-openui5": "^0.2.3",
29-
"karma-phantomjs-launcher": "^1.0.4",
3029
"karma-qunit": "^1.2.1",
3130
"qunitjs": "^2.4.1",
3231
"rimraf": "^2.6.2",

webapp/.nojekyll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

0 commit comments

Comments
 (0)