Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pro-blocks
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
pro-blocks
Commits
61c9124a
Unverified
Commit
61c9124a
authored
Nov 03, 2017
by
偏右
Committed by
GitHub
Nov 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI in windows (#89)
CI in windows
parent
e34c5847
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
3 deletions
+25
-3
README.md
README.md
+1
-1
appveyor.yml
appveyor.yml
+22
-0
tests/run-tests.js
tests/run-tests.js
+2
-2
No files found.
README.md
View file @
61c9124a
...
...
@@ -2,7 +2,7 @@
# Ant Design Pro
[
![
](
https://img.shields.io/travis/ant-design/ant-design-pro.svg?style=flat-square
)
](https://travis-ci.org/ant-design/ant-design-pro)
[
![Gitter
](
https://badges.gitter.im/ant-design/ant-design-pro.svg
)
](https://gitter.im/ant-design/ant-design-pro?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
[
![
](
https://img.shields.io/travis/ant-design/ant-design-pro.svg?style=flat-square
)
](https://travis-ci.org/ant-design/ant-design-pro)
[
![
Build status
](
https://ci.appveyor.com/api/projects/status/67fxu2by3ibvqtat/branch/master?svg=true
)
](https://ci.appveyor.com/project/afc163/ant-design-pro/branch/master)
[
![
Gitter
](
https://badges.gitter.im/ant-design/ant-design-pro.svg
)
](https://gitter.im/ant-design/ant-design-pro?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
开箱即用的中台前端/设计解决方案。
...
...
appveyor.yml
0 → 100644
View file @
61c9124a
# Test against the latest version of this Node.js version
environment
:
nodejs_version
:
"
8"
# Install scripts. (runs after repo cloning)
install
:
# Get the latest stable version of Node.js or io.js
-
ps
:
Install-Product node $env:nodejs_version
# install modules
-
npm install
# Output useful info for debugging.
-
node --version
-
npm --version
# Post-install test scripts.
test_script
:
-
npm run lint
-
npm run test:all
-
npm run build
# Don't actually build.
build
:
off
tests/run-tests.js
View file @
61c9124a
...
...
@@ -3,7 +3,7 @@ const { kill } = require('cross-port-killer');
const
env
=
Object
.
create
(
process
.
env
);
env
.
BROWSER
=
'
none
'
;
const
startServer
=
spawn
(
'
npm
'
,
[
'
start
'
],
{
const
startServer
=
spawn
(
/^win/
.
test
(
process
.
platform
)
?
'
npm.cmd
'
:
'
npm
'
,
[
'
start
'
],
{
env
,
});
...
...
@@ -25,7 +25,7 @@ startServer.stdout.on('data', (data) => {
data
.
toString
().
indexOf
(
'
Compiled with warnings
'
)
>=
0
)
{
// eslint-disable-next-line
console
.
log
(
'
Development server is started, ready to run tests.
'
);
const
testCmd
=
spawn
(
'
npm
'
,
[
'
test
'
],
{
const
testCmd
=
spawn
(
/^win/
.
test
(
process
.
platform
)
?
'
npm.cmd
'
:
'
npm
'
,
[
'
test
'
],
{
stdio
:
'
inherit
'
,
});
testCmd
.
on
(
'
exit
'
,
()
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment