language: objective-c
before_install:
    - (ruby --version)
    - sudo chown -R travis ~/Library/RubyMotion
    - mkdir -p ~/Library/RubyMotion/build
    - sudo motion update
script:
    - bundle install
    - bundle exec rake pod:install
    - bundle exec rake clean
    - bundle exec rake spec
    - bundle exec rake clean
    - bundle exec rake spec osx=true

language: objective-c
before_install:
    - (ruby --version)
    - sudo chown -R travis ~/Library/RubyMotion
    - mkdir -p ~/Library/RubyMotion/build
    - sudo motion update
script:
    - bundle install
    - bundle exec rake pod:install
    - bundle exec rake spec
    - rm -rf build/
    - rm -rf vendor/build/
    - rm -rf vendor/Pods/
    - bundle exec rake pod:install osx=true
    - bundle exec rake spec osx=true

Clean up ios files before testing osx
Clean up ios files before testing osx
