language: generic

matrix:
  include:
    - os: linux
      dist: xenial
      sudo: required
#    - os: osx
#      osx_image: xcode8.2
#      sudo: required

install:
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then eval "$(curl -sL https://github.com/odaceo/script-ubuntu-swiftenv/raw/master/install.sh)" ; fi
#  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install ossp-uuid ; fi

script:
  - swift build --configuration release
  - .build/release/hello Odaceo

language: generic

matrix:
  include:
    - os: linux
      dist: xenial
      sudo: required
    - os: osx
      osx_image: xcode8.3
      sudo: required

install:
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then eval "$(curl -sL https://github.com/odaceo/script-ubuntu-swiftenv/raw/master/install.sh)" ; fi

script:
  - swift build --configuration release
  - .build/release/hello Odaceo

Enable the build on MacOS
Enable the build on MacOS
