Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
json
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
Libraries
json
Commits
5436407b
Commit
5436407b
authored
Feb 12, 2017
by
Tushar Maheshwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
👷
Add cmake logic to Travis config
- get CMake for XCode 8.1 image
parent
85ce4d7b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
.gitignore
.gitignore
+1
-0
.travis.yml
.travis.yml
+12
-1
No files found.
.gitignore
View file @
5436407b
...
...
@@ -7,6 +7,7 @@ fuzz-testing
*.gcno
*.gcda
build
working
doc/xml
...
...
.travis.yml
View file @
5436407b
...
...
@@ -228,6 +228,14 @@ install:
# make sure CXX is correctly set
-
if [[ "${COMPILER}" != "" ]]; then export CXX=${COMPILER}; fi
# get CMake (only for systems with brew - macOS)
-
|
if [[ !(-x $(which cmake)) && (-x $(which brew)) ]]; then
brew update
brew install cmake
cmake --version
fi
# install LLVM/clang when LLVM_VERSION is set
-
|
if [[ "${LLVM_VERSION}" != "" ]]; then
...
...
@@ -266,7 +274,10 @@ script:
-
$CXX --version
# compile and execute unit tests
-
make check
-
mkdir -p build && cd build
-
cmake .. && cmake --build . --config Release -- -j4
-
ctest -C Release -V
-
cd ..
# check if homebrew works (only checks develop branch)
-
if [ `which brew` ]; then
...
...
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