mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08:00
Fix Travis CI build (#47)
* try to fix travis build * try to use bionic somehow * try again to fix travis * need libssh for travis too * install newer libssh too * be less verbose in travis script
This commit is contained in:
parent
8b294f3270
commit
8519292881
@ -1,4 +1,5 @@
|
||||
language: c
|
||||
dist: xenial
|
||||
matrix:
|
||||
include:
|
||||
- compiler: gcc
|
||||
@ -6,5 +7,7 @@ matrix:
|
||||
env: CFLAGS="-g -O2"
|
||||
before_install:
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get -y install debhelper autotools-dev dh-autoreconf file libncurses5-dev libevent-dev pkg-config libutempter-dev build-essential
|
||||
- sudo apt-get -y install debhelper autotools-dev dh-autoreconf file libncurses5-dev libevent-dev pkg-config libutempter-dev build-essential cmake
|
||||
- ./install_msgpack_travis.sh
|
||||
- ./install_libssh_travis.sh
|
||||
script: (CFLAGS= ./autogen.sh) && ./configure --enable-debug && make
|
||||
|
9
install_libssh_travis.sh
Executable file
9
install_libssh_travis.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
wget 'https://www.libssh.org/files/0.8/libssh-0.8.5.tar.xz'
|
||||
tar -xJf libssh-0.8.5.tar.xz
|
||||
mkdir libssh-build
|
||||
cd libssh-build
|
||||
cmake ../libssh-0.8.5
|
||||
make
|
||||
sudo make install
|
8
install_msgpack_travis.sh
Executable file
8
install_msgpack_travis.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
wget 'https://github.com/msgpack/msgpack-c/archive/cpp-3.1.1.tar.gz'
|
||||
tar -xzf cpp-3.1.1.tar.gz
|
||||
cd msgpack-c-cpp-3.1.1
|
||||
cmake .
|
||||
make
|
||||
sudo make install
|
Loading…
x
Reference in New Issue
Block a user