language: objective-c
osx_image: xcode8
before_install:
  - sudo motion update
  - motion repo
script: bundle exec rake spec
deploy:
  provider: rubygems
  api_key:
    secure: BA4jK37Z5iul3szro9p1YP7MScgbQ9ITEiJD01FBjQGBPXWteomYD9NF0dV0aDk+RHAQEogoX5Ubkmt8MKlo/72nosMGR56n+IbNkmcdpsykg8Bb62e/ZuYpnu7OvK3M9cgeq+HskHsRPQWoDoM5GnkNHMfx7ecp1a1bJ8eP614=
  gem: motion-support
  on:
    tags: true
    repo: rubymotion/motion-support

os: osx
osx_image: xcode11.1
env:
global:
- RUBYMOTION_LICENSE=1dcac45cc434293009f74b33037bdf7361a3a1ff # Official license key for open-source projects
- 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
script:
- bundle exec rake spec
deploy:
  provider: rubygems
  api_key:
    secure: BA4jK37Z5iul3szro9p1YP7MScgbQ9ITEiJD01FBjQGBPXWteomYD9NF0dV0aDk+RHAQEogoX5Ubkmt8MKlo/72nosMGR56n+IbNkmcdpsykg8Bb62e/ZuYpnu7OvK3M9cgeq+HskHsRPQWoDoM5GnkNHMfx7ecp1a1bJ8eP614=
  gem: motion-support
  on:
    tags: true
    repo: rubymotion/motion-support

Update to the new and improved RubyMotion open source Travis build configuration.
Update to the new and improved RubyMotion open source Travis build configuration.
