Skip to content

Commit 577ec80

Browse files
committed
Travis Test
Signed-off-by: magicoflolis <magicoflolis@gmail.com>
1 parent 727d3db commit 577ec80

4 files changed

Lines changed: 13 additions & 5 deletions

File tree

.travis.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
language: node_js
2-
node_js: 15
2+
node_js:
3+
- 'node'
4+
5+
notifications:
6+
email: false
37
before_script:
4-
- npm install yarn webpack -g
8+
- npm install -g yarn webpack
59
- git checkout master
610
- cd webextension
711
- yarn
812
- cd ..
913
- yarn
1014

15+
install:
16+
- npm i --force
17+
- webpack --config=build/webpack.config.js && webpack --config=build/webpack.gf.config.js && node build/userscript.js
18+
1119
script:
1220
- yarn build
1321
- cd webextension

build/userscript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ let ljs = `// @require https://cdn.jsdelivr.net/gh/jae-jae/l.js/userjs/l.use
4444

4545
let ljs_GF = `// @require https://greasyfork.org/scripts/23419-l-js/code/ljs.js
4646
// @require https://greasyfork.org/scripts/23420-userjs-base-js/code/userjs-basejs.js
47-
// @resource uiJs https://github.com/magicoflolis/Userscript-Plus/blob/master/dist/ui.gf.js?raw=true
47+
// @resource uiJs https://cdn.jsdelivr.net/gh/magicoflolis/Userscript-Plus/dist/ui.gf.js?_=${time}
4848
// @resource ui https://cdn.jsdelivr.net/gh/magicoflolis/Userscript-Plus/dist/ui.html?_=${time}`;
4949

5050

dist/ui.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<title>Show Site All UserJS</title>
77
</head>
88

9-
<body style="background: none transparent">
9+
<body style="background: none transparent !important">
1010
<div id="app">
1111

1212
</div>

src/ui.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<title>Show Site All UserJS</title>
77
</head>
88

9-
<body style="background: none transparent">
9+
<body style="background: none transparent !important">
1010
<div id="app">
1111

1212
</div>

0 commit comments

Comments
 (0)