From c8f909c15d3320c359f27a201094a05bc8bd380a Mon Sep 17 00:00:00 2001 From: Oleg Oshmyan Date: Fri, 13 Nov 2020 19:35:37 +0200 Subject: Travis CI: use before_script and split commands The sequence is before_install -> install -> before_script -> script. `install` is supposed to be the one where dependencies are installed, but apparently the apt and homebrew plugins do it earlier. I'm not sure why the docs suggest putting `apt-get install` in `before_install`, but we no longer even do that. It definitely seems like the wrong stage for `./autogen.sh` and `./configure`, even if it currently affects nothing in practice. --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 49a2cce..3b1e81c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,8 +28,9 @@ branches: - ci - coverity_scan -before_install: - - ./autogen.sh && ./configure +before_script: + - ./autogen.sh + - ./configure script: - make -j4 -- cgit v1.2.3