travis: fix scons build after deprecation warning
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 29 Oct 2019 09:24:36 +0000 (09:24 +0000)
committerEric Engestrom <eric.engestrom@intel.com>
Tue, 29 Oct 2019 09:25:40 +0000 (09:25 +0000)
Fixes: 54053bc8d0dad89a38e2 ("scons: Print a deprecation warning about using scons on not windows")
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
.travis.yml

index 23cb24fac161222a3fe5ad6c69a47e9dffec0708..6528b104667353acf3f90aa7f3963e6f3cbaae16 100644 (file)
@@ -58,6 +58,6 @@ script:
       ninja -C _build install || travis_terminate 1;
     fi
   - if test "x$BUILD" = xscons; then
-      scons || travis_terminate 1;
-      scons check || travis_terminate 1;
+      scons force_scons=1 || travis_terminate 1;
+      scons force_scons=1 check || travis_terminate 1;
     fi