Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tlc4b
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
stups
tlc4b
Commits
4747bc77
Commit
4747bc77
authored
6 years ago
by
David Schneider
Browse files
Options
Downloads
Patches
Plain Diff
Add gradle tasks to download and extract and remove prob public examples
parent
ef4c75f1
No related branches found
No related tags found
1 merge request
!1
Run regressionTests on travis-ci
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
build.gradle
+17
-1
17 additions, 1 deletion
build.gradle
with
18 additions
and
1 deletion
.gitignore
+
1
−
0
View file @
4747bc77
...
...
@@ -17,3 +17,4 @@ temp
out/
src/test/**/*.tla
src/test/**/*.cfg
public_examples
This diff is collapsed.
Click to expand it.
build.gradle
+
17
−
1
View file @
4747bc77
...
...
@@ -4,6 +4,7 @@ plugins {
id
'maven'
id
'jacoco'
id
'findbugs'
id
"de.undercouch.download"
version
"3.4.3"
}
project
.
version
=
'1.0.4-SNAPSHOT'
...
...
@@ -63,13 +64,28 @@ test {
//exclude('de/tlc4b/tlc/integration')
}
task
downloadPublicExamples
(
type:
Download
)
{
src
'https://www3.hhu.de/stups/downloads/prob/source/ProB_public_examples.tgz'
dest
buildDir
onlyIfModified
true
}
task
extractPublicExamples
(
dependsOn:
downloadPublicExamples
,
type:
Copy
)
{
from
tarTree
(
resources
.
gzip
(
"${buildDir}/ProB_public_examples.tgz"
))
into
projectDir
}
clean
{
delete
"${projectDir}/public_examples"
}
task
regressionTests
(
type:
Test
){
task
regressionTests
(
dependsOn:
extractPublicExamples
,
type:
Test
){
doFirst
{
println
(
"Running integration tests"
)
}
scanForTestClasses
=
true
//include('de/tlc4b/tlc/integration/probprivate/**')
include
(
'de/tlc4b/**'
)
}
check
.
dependsOn
(
regressionTests
)
// type 'gradle integrationTests jacocoIntegrationTestReport' in order to run the jacoco code coverage analysis
task
jacocoIntegrationTestReport
(
type:
JacocoReport
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment