Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ant-design-pro
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
ant-design-pro
Commits
84dd304e
Commit
84dd304e
authored
7 years ago
by
Wei Zhu
Committed by
ddcat1115
7 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add build to travis ci (#565)
parent
bba32aa7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
.travis.yml
.travis.yml
+3
-0
No files found.
.travis.yml
View file @
84dd304e
...
@@ -6,6 +6,7 @@ node_js:
...
@@ -6,6 +6,7 @@ node_js:
env
:
env
:
matrix
:
matrix
:
-
TEST_TYPE=lint
-
TEST_TYPE=lint
-
TEST_TYPE=build
-
TEST_TYPE=test-all
-
TEST_TYPE=test-all
-
TEST_TYPE=test-dist
-
TEST_TYPE=test-dist
...
@@ -23,6 +24,8 @@ script:
...
@@ -23,6 +24,8 @@ script:
-
|
-
|
if [ "$TEST_TYPE" = lint ]; then
if [ "$TEST_TYPE" = lint ]; then
npm run lint
npm run lint
elif [ "$TEST_TYPE" = build ]; then
npm run build
elif [ "$TEST_TYPE" = test-all ]; then
elif [ "$TEST_TYPE" = test-all ]; then
npm run test:all
npm run test:all
elif [ "$TEST_TYPE" = test-dist ]; then
elif [ "$TEST_TYPE" = test-dist ]; then
...
...
This diff is collapsed.
Click to expand it.
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