return 1 on failure
parent
1c3ae00f95
commit
19e6c28d41
10
.drone.yml
10
.drone.yml
|
@ -23,8 +23,11 @@ pipeline:
|
||||||
image: gcc:6
|
image: gcc:6
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
|
- echo "deb http://deb.debian.org/debian jessie-backports main" >> /etc/apt/sources.list.d/backports.list
|
||||||
|
- echo "APT::Default-Release \"jessie\";" >> /etc/apt/apt.conf.d/00default_release
|
||||||
- apt-get update -q
|
- apt-get update -q
|
||||||
- apt-get install -qy cmake libvsqlitepp-dev libboost-all-dev libxdg-basedir-dev
|
- apt-get install -qy -t jessie-backports cmake
|
||||||
|
- apt-get install -qy libvsqlitepp-dev libboost-all-dev libxdg-basedir-dev
|
||||||
- rm -rf build && mkdir -p build && cd build
|
- rm -rf build && mkdir -p build && cd build
|
||||||
- cmake ..
|
- cmake ..
|
||||||
- make VERBOSE=1
|
- make VERBOSE=1
|
||||||
|
@ -33,8 +36,11 @@ pipeline:
|
||||||
image: gcc:5
|
image: gcc:5
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
|
- echo "deb http://deb.debian.org/debian jessie-backports main" >> /etc/apt/sources.list.d/backports.list
|
||||||
|
- echo "APT::Default-Release \"jessie\";" >> /etc/apt/apt.conf.d/00default_release
|
||||||
- apt-get update -q
|
- apt-get update -q
|
||||||
- apt-get install -qy cmake libvsqlitepp-dev libboost-all-dev libxdg-basedir-dev
|
- apt-get install -qy -t jessie-backports cmake
|
||||||
|
- apt-get install -qy libvsqlitepp-dev libboost-all-dev libxdg-basedir-dev
|
||||||
- rm -rf build && mkdir -p build && cd build
|
- rm -rf build && mkdir -p build && cd build
|
||||||
- cmake ..
|
- cmake ..
|
||||||
- make VERBOSE=1
|
- make VERBOSE=1
|
||||||
|
|
|
@ -178,7 +178,10 @@ const bool details(const string &user, result_details &result)
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
whyblocked_text::start();
|
if (!whyblocked_text::start())
|
||||||
|
{
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue