From ed8d21558009e631323c7d39d86d22b41f007c86 Mon Sep 17 00:00:00 2001 From: Darren Kulp Date: Thu, 18 Jun 2020 23:56:09 -0700 Subject: [PATCH] Reorder jobs to reduce total runtime --- .travis.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0628af33..3944e7c0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,13 @@ env: global: - CARGO_TARGET_DIR=/tmp/bindgen matrix: + # Miscellaneous tests. + # Start "misc" job first since it runs longer than any other job. + - LLVM_VERSION="9.0" BINDGEN_JOB="misc" + - LLVM_VERSION="9.0" BINDGEN_JOB="quickchecking" + - LLVM_VERSION="9.0" BINDGEN_JOB="msrv" + + # General matrix. - LLVM_VERSION="3.8" BINDGEN_JOB="test" BINDGEN_PROFILE= - LLVM_VERSION="3.8" BINDGEN_JOB="test" BINDGEN_PROFILE="--release" - LLVM_VERSION="3.8" BINDGEN_JOB="integration" BINDGEN_PROFILE= @@ -62,11 +69,6 @@ env: - LLVM_VERSION="9.0" BINDGEN_JOB="expectations" BINDGEN_PROFILE= - LLVM_VERSION="9.0" BINDGEN_JOB="expectations" BINDGEN_PROFILE="--release" - # Miscellaneous tests. - - LLVM_VERSION="9.0" BINDGEN_JOB="misc" - - LLVM_VERSION="9.0" BINDGEN_JOB="quickchecking" - - LLVM_VERSION="9.0" BINDGEN_JOB="msrv" - matrix: fast_finish: true