matrix:
  include:
    - os: osx
      language: objective-c
      osx_image: xcode10
      script:
        - set -o pipefail
        - xcodebuild test -scheme EasyImagy-macOS -configuration Debug | xcpretty -c
        - xcodebuild test -scheme EasyImagy-iOS -configuration Debug -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone X" | xcpretty -c
        - xcodebuild test -scheme EasyImagy-tvOS -configuration Debug -sdk appletvsimulator -destination "platform=tvOS Simulator,name=Apple TV 4K" | xcpretty -c
        - xcodebuild build -scheme EasyImagy-watchOS -configuration Debug -sdk watchsimulator -destination "platform=watchOS Simulator,name=Apple Watch Series 3 - 38mm" | xcpretty -c
    - os: osx
      language: generic
      osx_image: xcode10
      script:
        - swift --version
        - swift build
        - swift test
    - os: linux
      language: generic
      sudo: required
      env: SWIFT_VERSION=4.2-dev
      install:
        - eval "$(curl -sL https://swiftenv.fuller.li/install.sh)"
      script:
        - swift --version
        - swift build
        - swift test

matrix:
  include:
    - os: osx
      language: objective-c
      osx_image: xcode10
      script:
        - set -o pipefail
        - xcodebuild test -scheme EasyImagy-macOS -configuration Debug | xcpretty -c
        - xcodebuild test -scheme EasyImagy-iOS -configuration Debug -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone X" | xcpretty -c
        - xcodebuild test -scheme EasyImagy-tvOS -configuration Debug -sdk appletvsimulator -destination "platform=tvOS Simulator,name=Apple TV 4K" | xcpretty -c
        - xcodebuild build -scheme EasyImagy-watchOS -configuration Debug -sdk watchsimulator -destination "platform=watchOS Simulator,name=Apple Watch Series 3 - 38mm" | xcpretty -c
    - os: osx
      language: generic
      osx_image: xcode10
      script:
        - swift --version
        - swift build
        - swift test
#    - os: linux
#      language: generic
#      sudo: required
#      env: SWIFT_VERSION=4.2-dev
#      install:
#        - eval "$(curl -sL https://swiftenv.fuller.li/install.sh)"
#      script:
#        - swift --version
#        - swift build
#        - swift test

Disable tests for Linux on Travis CI temporarily
Disable tests for Linux on Travis CI temporarily

Because Swift 4.2 has not been available with swiftenv yet, on which EasyImagy's tests on Travis CI depends.
