Explorar o código

Export LLVM path on macOS (CI)

Mikkel Hjortshøj %!s(int64=6) %!d(string=hai) anos
pai
achega
24c43d33bb
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  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