diff --git a/.travis.yml b/.travis.yml index d81646770..a0169259d 100644 --- a/.travis.yml +++ b/.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 \ No newline at end of file + email: false diff --git a/Makefile b/Makefile index 297dc8a4b..7129c41e1 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,8 @@ CC=clang OS=$(shell uname) -ifeq ($(OS), DARWIN) - LDFLAGS=$(LDFLAGS) -liconv +ifeq ($(OS), Darwin) + LDFLAGS:=$(LDFLAGS) -liconv endif all: debug demo