language: cpp

os:
  # - linux
  - osx

compiler:
  - gcc
  - clang

osx_image: xcode9.2

before_install:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew tap homebrew/php; brew update; fi

install:
  # Install packages from Homebrew/Aptitude
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install swig php71 lua; fi

before_script:
  - mkdir build
  - cd build
  - then cmake .. -DTINYSPLINE_WITH_RUBY=FALSE

script:
  - make

language: cpp

os:
  # - linux
  - osx

compiler:
  - gcc
  - clang

osx_image: xcode9.2

before_install:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew tap homebrew/php; brew update; fi

install:
  # Install packages from Homebrew/Aptitude
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install swig php71 lua; fi

before_script:
  - mkdir build
  - cd build
  - cmake .. -DTINYSPLINE_WITH_RUBY=FALSE

script:
  - make

Remove stray "then" from Travis buildscript
Remove stray "then" from Travis buildscript

