Browse Source

Export LLVM path on macOS (CI)

Mikkel Hjortshøj 6 years ago
parent
commit
24c43d33bb
1 changed files with 7 additions and 1 deletions
  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