Norio Nomura 9 éve
szülő
commit
018f48e16a
4 módosított fájl, 3 hozzáadás és 79 törlés
  1. 3 10
      .travis.yml
  2. 0 5
      Gemfile
  3. 0 23
      Gemfile.lock
  4. 0 41
      Rakefile

+ 3 - 10
.travis.yml

@@ -1,16 +1,9 @@
 language: objective-c
 osx_image: xcode8
-cache:
-  directories:
-  - vendor/bundle
-install:
-- bundle install --path=vendor/bundle --binstubs=vendor/bin
 script:
-- bundle exec rake test:ios test:osx test:SecEncodeTransformTests
-env:
-  global:
-  - LANG=en_US.UTF-8
-  - LC_ALL=en_US.UTF-8
+- xcodebuild -project Base32.xcodeproj -scheme Base32-Mac build-for-testing test
+- xcodebuild -project Base32.xcodeproj -scheme Base32-iOS -destination "name=iPhone 7" build-for-testing test
+- xcodebuild -project Base32.xcodeproj -scheme Base32-watchOS -destination "name=Apple Watch - 38mm" build
 notifications:
   webhooks:
     secure: TKFWG5dDRlNK/XbsC7eKDEh7vnydCUYjGc1Sv9DUOfRjvxYBMq+ys8R9iHAotNNtnCdacohM0bcwT1ZXQcRTYKEd6vKtY1XkkPA2xBogLVfhu17DCDMhJ3iTtati1mMK1rVeSgseXffOKVq1ZjNGjBVCIHl0PZoj5jFiOwYKKO8=

+ 0 - 5
Gemfile

@@ -1,5 +0,0 @@
-source "https://rubygems.org"
-
-gem "rake"
-gem 'xcpretty'
-gem "xcjobs", :git => 'https://github.com/norio-nomura/xcjobs.git', :branch => 'subclass-of-rake-task'

+ 0 - 23
Gemfile.lock

@@ -1,23 +0,0 @@
-GIT
-  remote: https://github.com/norio-nomura/xcjobs.git
-  revision: ed10d05caf1d7f74d4efa109e1f79228539e5571
-  branch: subclass-of-rake-task
-  specs:
-    xcjobs (0.0.7)
-
-GEM
-  remote: https://rubygems.org/
-  specs:
-    rake (10.4.2)
-    xcpretty (0.1.10)
-
-PLATFORMS
-  ruby
-
-DEPENDENCIES
-  rake
-  xcjobs!
-  xcpretty
-
-BUNDLED WITH
-   1.10.5

+ 0 - 41
Rakefile

@@ -1,41 +0,0 @@
-require 'xcjobs'
-
-def destinations
-  [ 'name=iPad 2',
-    'name=iPad Air',
-    'name=iPhone 4s',
-    'name=iPhone 5',
-    'name=iPhone 5s',
-    'name=iPhone 6',
-    'name=iPhone 6 Plus'
-  ]
-end
-
-namespace :test do
-  xcode_test :ios do |t|
-    t.project = 'Base32'
-    t.scheme = 'Base32-iOS'
-    t.sdk = 'iphonesimulator'
-    t.configuration = 'Release'
-    destinations.each do |destination|
-      t.add_destination(destination)
-    end
-    t.formatter = 'xcpretty -c'
-  end
-
-  xcode_test :osx do |t|
-    t.project = 'Base32'
-    t.scheme = 'Base32-Mac'
-    t.sdk = 'macosx'
-    t.configuration = 'Release'
-    t.formatter = 'xcpretty -c'
-  end
-
-  xcode_test :SecEncodeTransformTests do |t|
-    t.project = 'Base32'
-    t.scheme = 'SecEncodeTransformTests'
-    t.sdk = 'macosx'
-    t.configuration = 'Release'
-    t.formatter = 'xcpretty -c'
-  end
-end