downgraded drone from buster to stretch, fixed travis
All checks were successful
the build was successful
All checks were successful
the build was successful
This commit is contained in:
parent
f9c32f38d3
commit
d44c69aaa3
|
@ -1,11 +1,14 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
build:
|
build:
|
||||||
image: debian:buster-slim
|
image: debian:stretch-slim
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
|
- echo "deb http://deb.debian.org/debian buster main" >> /etc/apt/sources.list.d/buster.list
|
||||||
|
- echo "APT::Default-Release \"stretch\";" >> /etc/apt/apt.conf.d/00default_release
|
||||||
- apt-get update -q
|
- apt-get update -q
|
||||||
- apt-get install -qy build-essential cmake pkg-config
|
- apt-get install -qy build-essential cmake pkg-config
|
||||||
- apt-get install -qy libcurl4-openssl-dev libcurlpp-dev libjsoncpp-dev
|
- apt-get install -qy libcurl4-openssl-dev libjsoncpp-dev
|
||||||
|
- apt-get install -qy -t buster libcurlpp-dev
|
||||||
- apt-get install -qy rpm file
|
- apt-get install -qy rpm file
|
||||||
- mkdir -p build && cd build
|
- mkdir -p build && cd build
|
||||||
- cmake -DWITH_EXAMPLES=ON -DWITH_TESTS=ON ..
|
- cmake -DWITH_EXAMPLES=ON -DWITH_TESTS=ON ..
|
||||||
|
|
|
@ -9,11 +9,11 @@ addons:
|
||||||
- ubuntu-toolchain-r-test
|
- ubuntu-toolchain-r-test
|
||||||
- sourceline: 'ppa:cspensky/sda'
|
- sourceline: 'ppa:cspensky/sda'
|
||||||
packages:
|
packages:
|
||||||
- g++-5
|
- g++-6
|
||||||
- libcurlpp-dev
|
- libcurlpp-dev
|
||||||
- libjsoncpp-dev
|
- libjsoncpp-dev
|
||||||
before_install:
|
before_install:
|
||||||
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-5 60
|
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 60
|
||||||
script:
|
script:
|
||||||
- mkdir -p build && cd build
|
- mkdir -p build && cd build
|
||||||
- cmake -DWITH_EXAMPLES=ON -DWITH_TESTS=ON ..
|
- cmake -DWITH_EXAMPLES=ON -DWITH_TESTS=ON ..
|
||||||
|
|
Reference in New Issue
Block a user