language: objective-c
osx_image: xcode8
before_install:
  - sudo motion update
  - motion repo
  - bundle install
  - bundle exec rake clean
script:
  - bundle exec rake spec
  - bundle exec rake spec platform=osx

language: objective-c
os: osx
osx_image: xcode11.1
env:
  - TMP_DIR=./tmp  # For motion repo, so it doesn't attempt to use /tmp, to which it has no access
before_install:
  - wget http://travisci.rubymotion.com/ -O RubyMotion-TravisCI.pkg
  - sudo installer -pkg RubyMotion-TravisCI.pkg -target /
  - cp -r /usr/lib/swift/*.dylib /Applications/Xcode.app/Contents/Frameworks/
  - touch /Applications/Xcode.app/Contents/Frameworks/.swift-5-staged
  - sudo mkdir -p ~/Library/RubyMotion/build
  - sudo chown -R travis ~/Library/RubyMotion
  - eval "sudo motion activate $RUBYMOTION_LICENSE"
  - sudo motion update && motion repo
  - bundle install
  - bundle exec rake clean
gemfile:
  - Gemfile
script:
  - bundle exec rake spec
  - bundle exec rake spec platform=osx

Update Travis CI build to the new and improved version
Update Travis CI build to the new and improved version
