Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
72303307
Commit
72303307
authored
May 21, 2014
by
Carlos Martín Nieto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
travis: build on osx too
parent
58532ed0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
4 deletions
+23
-4
.travis.yml
+12
-4
script/install-deps-linux.sh
+6
-0
script/install-deps-osx.sh
+5
-0
No files found.
.travis.yml
View file @
72303307
...
...
@@ -3,6 +3,10 @@
language
:
c
os
:
-
linux
-
osx
compiler
:
-
gcc
-
clang
...
...
@@ -17,17 +21,21 @@ env:
matrix
:
fast_finish
:
true
exclude
:
-
os
:
osx
compiler
:
gcc
include
:
-
compiler
:
i586-mingw32msvc-gcc
env
:
OPTIONS="-DBUILD_CLAR=OFF -DWIN32=ON -DMINGW=ON -DUSE_SSH=OFF"
os
:
linux
-
compiler
:
gcc
env
:
COVERITY=1
os
:
linux
allow_failures
:
-
env
:
COVERITY=1
install
:
-
sudo apt-get -qq update
-
sudo apt-get -qq install cmake libssh2-1-dev openssh-client openssh-server
-
./script/install-deps-${TRAVIS_OS_NAME}.sh
# Run the Build script and tests
script
:
...
...
@@ -35,8 +43,8 @@ script:
# Run Tests
after_success
:
-
sudo apt-get -qq install valgrind
-
valgrind --leak-check=full --show-reachable=yes --suppressions=./libgit2_clar.supp _build/libgit2_clar -ionline
-
if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get -qq install valgrind; fi
-
if [ "$TRAVIS_OS_NAME" = "linux" ]; then valgrind --leak-check=full --show-reachable=yes --suppressions=./libgit2_clar.supp _build/libgit2_clar -ionline; fi
# Only watch the development branch
branches
:
...
...
script/install-deps-linux.sh
0 → 100755
View file @
72303307
#!/bin/sh
set
-x
sudo
apt-get
-qq
update
&&
sudo
apt-get
-qq
install cmake libssh2-1-dev openssh-client openssh-server
script/install-deps-osx.sh
0 → 100755
View file @
72303307
#!/bin/sh
set
-x
brew install libssh2 cmake
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