瀏覽代碼

[TravisCI] only run HL/JIT in 32-bit builds

Andy Li 8 年之前
父節點
當前提交
ddfcc6dd0f
共有 1 個文件被更改,包括 5 次插入3 次删除
  1. 5 3
      .travis.yml

+ 5 - 3
.travis.yml

@@ -115,7 +115,9 @@ install:
 
 script:
   - if [ "$ARCH" = "32" ]; then
-      haxe -hl hello.hl -cp other/tests -main HelloWorld -D interp;
+      haxe -hl hello.hl -cp other/tests -main HelloWorld -D interp &&
+      ./hl hello.hl;
     fi
-  - ./hl hello.hl
-  - haxe -hl src/_main.c -cp other/tests -main HelloWorld && make hlc && ./hlc
+  - haxe -hl src/_main.c -cp other/tests -main HelloWorld &&
+    make hlc &&
+    ./hlc