We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae6b523 commit bfef293Copy full SHA for bfef293
2 files changed
.travis.yml
@@ -16,7 +16,7 @@ install:
16
before_script:
17
- xcodebuild -workspace ICInputAccessory.xcworkspace -list
18
script:
19
- - bundle exec rake ci:test[$VERSION]
+ - bundle exec rake ci:build[$VERSION]
20
notifications:
21
email: false
22
slack:
Rakefile
@@ -1,6 +1,13 @@
1
task default: "ci:test"
2
3
namespace :ci do
4
+ desc "Build targets on Travis CI with a specified OS version, default OS=latest"
5
+ task :build, [:os] do |t, args|
6
+ version = args[:os] || "latest"
7
+ Rake::Task["framework:build"].invoke version
8
+ Rake::Task["example:build"].invoke version
9
+ end
10
+
11
desc "Run tests on Travis CI with a specified OS version, default OS=latest"
12
task :test, [:os] do |t, args|
13
version = args[:os] || "latest"
0 commit comments