Skip to content

Commit c73fa1b

Browse files
committed
Update .travis.yml
1 parent 4352a81 commit c73fa1b

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.travis.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,17 @@ jobs:
2424
language: objective-c
2525
rvm: 2.4.2 # pre-installed in image
2626
cache:
27-
- bundler
28-
- cocoapods
27+
bundler: false
28+
gemfile:
29+
- Gemfile
2930
script:
30-
- sudo chown -R travis ~/Library/RubyMotion
31+
- wget http://travisci.rubymotion.com/ -O RubyMotion-TravisCI.pkg
32+
- sudo installer -pkg RubyMotion-TravisCI.pkg -target /
33+
- cp -r /usr/lib/swift/*.dylib /Applications/Xcode.app/Contents/Frameworks/
34+
- touch /Applications/Xcode.app/Contents/Frameworks/.swift-5-staged
3135
- sudo mkdir -p ~/Library/RubyMotion/build
32-
- sudo chown -R travis ~/Library/RubyMotion/build
33-
- sudo motion update
34-
- sudo motion repo
36+
- sudo chown -R travis ~/Library/RubyMotion
37+
- eval "sudo motion activate $RUBYMOTION_LICENSE"
38+
- sudo motion update && motion repo
3539
- cd rubymotion
36-
- bundle install --gemfile=./Gemfile --jobs=3 --retry=3
37-
- bundle exec rake clean
3840
- bundle exec rake spec

0 commit comments

Comments
 (0)