浏览代码

Export LLVM path on macOS (CI)

Mikkel Hjortshøj 6 年之前
父节点
当前提交
24c43d33bb
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. 7 1
      .travis.yml

+ 7 - 1
.travis.yml

@@ -8,11 +8,17 @@ os:
 
 compiler:
   - clang
+ 
+addons:
+  homebrew:
+    packages:
+    - llvm
 
 script: 
+  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH="/usr/local/opt/llvm/bin:$PATH" ; fi
   - make release
   - ./odin run examples/demo/demo.odin
   - ./odin check examples/demo/demo.odin -vet
 
 notifications:
-  email: false
+  email: false