Skip to content

Commit 4d9959b

Browse files
committed
Fix travis build
1 parent 97ae4e7 commit 4d9959b

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.travis.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,29 @@
1-
os: osx
2-
osx_image: xcode10.2
31
language: objective-c
2+
osx_image: xcode11.3
43
env:
5-
- TMP_DIR=./tmp # For motion repo, so it doesn't attempt to use /tmp, to which it has no access
4+
- RUBYMOTION_LICENSE=1dcac45cc434293009f74b33037bdf7361a3a1ff # Official license key for open-source projects
5+
- TMP_DIR=./tmp # For motion repo, so it doesn't attempt to use /tmp, to which it has no access
6+
- OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
67

78
before_install:
8-
- (ruby --version)
9+
- brew update
10+
- brew outdated xctool || brew upgrade xctool
11+
- (xcrun simctl list)
912
- wget http://travisci.rubymotion.com/ -O RubyMotion-TravisCI.pkg
1013
- sudo installer -pkg RubyMotion-TravisCI.pkg -target /
1114
- cp -r /usr/lib/swift/*.dylib /Applications/Xcode.app/Contents/Frameworks/
1215
- touch /Applications/Xcode.app/Contents/Frameworks/.swift-5-staged
1316
- sudo mkdir -p ~/Library/RubyMotion/build
1417
- sudo chown -R travis ~/Library/RubyMotion
1518
- eval "sudo motion activate $RUBYMOTION_LICENSE"
16-
- sudo motion update && motion repo
19+
- sudo motion update
20+
- (motion --version)
21+
- (ruby --version)
22+
- motion repo
23+
- bundle exec rake pod:install
1724

1825
gemfile:
1926
- Gemfile
2027

2128
script:
22-
- bundle exec rake pod:install
23-
- bundle exec rake spec
29+
- bundle exec rake spec

0 commit comments

Comments
 (0)