2018-08-07 10:27:11 +03:00
|
|
|
.ubuntu: &ubuntu_def
|
|
|
|
before_script:
|
2018-08-13 23:53:26 +03:00
|
|
|
- REPOSITORY="$PWD" && cd ..
|
2018-08-15 00:43:27 +03:00
|
|
|
- apt-get update && apt-get install -y wget g++ gcc libncurses5-dev libreadline-dev libssl-dev make zlib1g-dev git file
|
2018-08-13 23:53:26 +03:00
|
|
|
- wget https://cmake.org/files/v3.12/cmake-3.12.1.tar.gz && tar -xzvf cmake-3.12.1.tar.gz
|
|
|
|
- cd cmake-3.12.1 && ./bootstrap && make install
|
|
|
|
- cd "$REPOSITORY" && git submodule update --init --recursive
|
2018-08-07 10:27:11 +03:00
|
|
|
script:
|
2018-08-10 18:06:14 +03:00
|
|
|
- ./configure
|
|
|
|
- make package -C tmp
|
2018-08-07 10:27:11 +03:00
|
|
|
|
|
|
|
bionic:
|
|
|
|
<<: *ubuntu_def
|
|
|
|
image: ubuntu:bionic
|
|
|
|
variables:
|
|
|
|
CMAKE: cmake
|
|
|
|
|
|
|
|
xenial:
|
|
|
|
<<: *ubuntu_def
|
|
|
|
image: ubuntu:xenial
|
|
|
|
variables:
|
|
|
|
CMAKE: cmake
|
|
|
|
|
|
|
|
trusty:
|
|
|
|
<<: *ubuntu_def
|
|
|
|
image: ubuntu:trusty
|
|
|
|
variables:
|
|
|
|
CMAKE: cmake3
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# there's no cmake3 for 12.04
|
|
|
|
# maybe, there's ppa ?
|
|
|
|
#
|
|
|
|
#precise:
|
|
|
|
# <<: *ubuntu_def
|
|
|
|
# image: ubuntu:precise
|
|
|
|
# variables:
|
|
|
|
# CMAKE: cmake3
|
|
|
|
|