Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sébastien Peillet
otb
Commits
978e8987
Commit
978e8987
authored
8 years ago
by
Rashad Kanavath
Browse files
Options
Downloads
Patches
Plain Diff
TRAVIS: enable ccache
parent
5aecc929
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.travis.yml
+1
-1
1 addition, 1 deletion
.travis.yml
Utilities/Maintenance/TravisBuild.cmake
+5
-7
5 additions, 7 deletions
Utilities/Maintenance/TravisBuild.cmake
with
6 additions
and
8 deletions
.travis.yml
+
1
−
1
View file @
978e8987
...
...
@@ -6,6 +6,6 @@ dist: trusty
compiler
:
-
clang
cache
:
fals
e
cache
:
ccach
e
script
:
Utilities/Maintenance/TravisBuild.sh
This diff is collapsed.
Click to expand it.
Utilities/Maintenance/TravisBuild.cmake
+
5
−
7
View file @
978e8987
...
...
@@ -36,6 +36,11 @@ set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 1000)
set
(
CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 300
)
#set(CTEST_BUILD_FLAGS -j2)
macro
(
do_submit
)
ctest_submit
()
return
()
endmacro
()
message
(
STATUS
"CTEST_SOURCE_DIRECTORY:
${
CTEST_SOURCE_DIRECTORY
}
"
)
message
(
STATUS
"CTEST_BINARY_DIRECTORY:
${
CTEST_BINARY_DIRECTORY
}
"
)
...
...
@@ -85,15 +90,8 @@ if(NOT _build_rv EQUAL 0)
do_submit
()
endif
()
#ctest_test with extra verbose is annoying in travis build log.
#Afer all these are unit-test without much revelent extra verbose output
execute_process
(
COMMAND
${
CTEST_COMMAND
}
"-R"
"Tu"
"."
WORKING_DIRECTORY
"
${
CTEST_BINARY_DIRECTORY
}
"
)
do_submit
()
macro
(
do_submit
)
ctest_submit
()
return
()
endmacro
()
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