From fb4ee5ce38c00bd23138702bc81f11e4134ac023 Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Wed, 27 Sep 2017 14:23:45 -0700 Subject: [PATCH] travis: move git submodule update to run first Currently, the astyle build is failing due to sourceforge.net downloads failing. Move the git submodule update before that since it's more critical. Change-Id: Ibbf32759eed0f557652de41e7bfec6e8a3058772 Signed-off-by: Daniel Verkamp Reviewed-on: https://review.gerrithub.io/380532 Tested-by: SPDK Automated Test System Reviewed-by: Jim Harris --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 43c830ced..9f8b4736b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,6 +17,7 @@ addons: - libnuma-dev before_script: + - git submodule update --init - export MAKEFLAGS="-j$(nproc)" - if [ "$CC" = gcc ]; then wget https://downloads.sourceforge.net/project/astyle/astyle/astyle%203.0/astyle_3.0_linux.tar.gz; @@ -26,7 +27,6 @@ before_script: export PATH=$PWD/bin:$PATH; popd; fi - - git submodule update --init script: - ./scripts/check_format.sh