Przeglądaj źródła

try to make travis job error-out if first build fails

Steffen Jaeckel 6 lat temu
rodzic
commit
a72aa2fc14
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      .travis.yml

+ 2 - 2
.travis.yml

@@ -34,8 +34,8 @@ compiler:
   - gcc
   - gcc
   - clang
   - clang
 script:
 script:
-  - bash "${BUILDSCRIPT}" "${BUILDNAME}" "-DUSE_LTM -DLTM_DESC" "makefile V=1"        "${BUILDOPTIONS}" "-ltommath"
-  - bash "${BUILDSCRIPT}" "${BUILDNAME}" "-DUSE_TFM -DTFM_DESC" "makefile.shared V=1" "${BUILDOPTIONS}" "-ltfm"
+  - bash "${BUILDSCRIPT}" "${BUILDNAME}" "-DUSE_LTM -DLTM_DESC" "makefile V=1"        "${BUILDOPTIONS}" "-ltommath" &&
+    bash "${BUILDSCRIPT}" "${BUILDNAME}" "-DUSE_TFM -DTFM_DESC" "makefile.shared V=1" "${BUILDOPTIONS}" "-ltfm"
 env:
 env:
   - |
   - |
     BUILDSCRIPT=".ci/meta_builds.sh"
     BUILDSCRIPT=".ci/meta_builds.sh"