Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
d643c045
Unverified
Commit
d643c045
authored
Jun 15, 2018
by
Whyrusleeping
Committed by
GitHub
Jun 15, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5119 from ipfs/ci/disable-mac
disable the MacOS tests in jenkins
parents
dbaeb844
fcf74d4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
35 deletions
+35
-35
ci/Jenkinsfile
ci/Jenkinsfile
+35
-35
No files found.
ci/Jenkinsfile
View file @
d643c045
...
...
@@ -154,41 +154,41 @@ ansiColor('xterm') { withEnv(['TERM=xterm-color']) {
}
}
},
macOS:
{
setupStep
(
'macos'
)
{
run
->
timeout
(
time:
gotest_timeout
,
unit:
'MINUTES'
)
{
run
'go get -v github.com/jstemmer/go-junit-report'
run
"make gx-deps"
try
{
run
test
+
' -tags="nofuse" 2>&1 | tee output'
run
'cat output | go-junit-report > junit-report-macos.xml'
}
catch
(
err
)
{
throw
err
}
finally
{
/* IGNORE TEST FAILS */
/* junit 'junit-report-*.xml' */
}
}
}
},
macSharness:
{
setupStep
(
'macos'
)
{
run
->
timeout
(
time:
sharness_timeout
,
unit:
'MINUTES'
)
{
run
'go get -v github.com/jstemmer/go-junit-report'
run
"make gx-deps"
try
{
run
"make -j12 test/sharness/test-results/sharness.xml CONTINUE_ON_S_FAILURE=1 TEST_NO_FUSE=1"
}
catch
(
err
)
{
throw
err
}
finally
{
/* IGNORE TEST FAILS */
/* junit allowEmptyResults: true, testResults: 'test/sharness/test-results/sharness.xml' */
}
}
}
},
//
macOS: {
//
setupStep('macos') { run ->
//
timeout(time: gotest_timeout, unit: 'MINUTES') {
//
run 'go get -v github.com/jstemmer/go-junit-report'
//
run "make gx-deps"
//
try {
//
run test + ' -tags="nofuse" 2>&1 | tee output'
//
run 'cat output | go-junit-report > junit-report-macos.xml'
//
} catch (err) {
//
throw err
//
} finally {
//
/* IGNORE TEST FAILS */
//
/* junit 'junit-report-*.xml' */
//
}
//
}
//
}
//
},
//
macSharness: {
//
setupStep('macos') { run ->
//
timeout(time: sharness_timeout, unit: 'MINUTES') {
//
run 'go get -v github.com/jstemmer/go-junit-report'
//
run "make gx-deps"
//
try {
//
run "make -j12 test/sharness/test-results/sharness.xml CONTINUE_ON_S_FAILURE=1 TEST_NO_FUSE=1"
//
} catch (err) {
//
throw err
//
} finally {
//
/* IGNORE TEST FAILS */
//
/* junit allowEmptyResults: true, testResults: 'test/sharness/test-results/sharness.xml' */
//
}
//
}
//
}
//
},
)
}
}}
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