.travis.yml in motion-sqlite3-0.5.3 vs .travis.yml in motion-sqlite3-1.0.0
- old
+ new
@@ -1,6 +1,23 @@
language: objective-c
+osx_image: xcode11.3
+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
+ - OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
before_install:
- - sudo chown -R travis ~/Library/RubyMotion
- - mkdir -p ~/Library/RubyMotion/build
-
+ - brew update
+ - brew outdated xctool || brew upgrade xctool
+ - (xcrun simctl list)
+ - 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 --version)
+ - (ruby --version)
+ - motion repo
script: bundle exec rake spec