File tree Expand file tree Collapse file tree 3 files changed +17
-12
lines changed
Expand file tree Collapse file tree 3 files changed +17
-12
lines changed Original file line number Diff line number Diff line change 22# see travis-ci.org for details
33
44language : c
5+ dist : trusty
56
67os :
78 - linux
2021 - OPTIONS="-DTHREADSAFE=ON -DCMAKE_BUILD_TYPE=Release"
2122 - OPTIONS="-DTHREADSAFE=OFF -DBUILD_EXAMPLES=ON"
2223
23- addons :
24- apt :
25- packages :
26- - cmake
27- - libssh2-1-dev
28- - openssh-client
29- - openssh-server
30- - valgrind
31-
3224dist : trusty
33- sudo : false
25+ sudo : true
3426
3527matrix :
3628 fast_finish : true
@@ -56,7 +48,7 @@ matrix:
5648 - env : COVERITY=1
5749
5850install :
59- - if [ "$TRAVIS_OS_NAME" = "osx" ]; then ./script/install-deps-${TRAVIS_OS_NAME}.sh; fi
51+ - ./script/install-deps-${TRAVIS_OS_NAME}.sh
6052
6153# Run the Build script and tests
6254script :
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ cat >~/sshd/sshd_config<<-EOF
5050 ListenAddress 0.0.0.0
5151 Protocol 2
5252 HostKey ${HOME} /sshd/id_rsa
53+ PidFile ${HOME} /sshd/pid
5354 RSAAuthentication yes
5455 PasswordAuthentication yes
5556 PubkeyAuthentication yes
@@ -99,7 +100,7 @@ if [ -e ./libgit2_clar ]; then
99100
100101fi
101102
102- killall sshd
103+ kill $( cat " $HOME / sshd/pid " )
103104
104105export GITTEST_REMOTE_URL=" https://github.com/libgit2/non-existent"
105106export GITTEST_REMOTE_USER=" libgit2test"
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ set -x
4+
5+ if [ -z " $PRECISE " ]; then
6+ echo " deb http://libgit2deps.edwardthomson.com trusty libgit2deps" | sudo tee -a /etc/apt/sources.list
7+ sudo apt-key adv --keyserver pgp.mit.edu --recv 99131CD5
8+ sudo apt-get update -qq
9+ sudo apt-get install -y curl libcurl3 libcurl3-gnutls libcurl4-gnutls-dev
10+ fi
11+
12+ sudo apt-get install -y cmake libssh2-1-dev openssh-client openssh-server valgrind
You can’t perform that action at this time.
0 commit comments