Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
70ee408b
Commit
70ee408b
authored
Oct 18, 2014
by
Kyle Fuller
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'kyle-travis'
parents
9aec4857
a2eba973
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
24 deletions
+18
-24
.travis.yml
.travis.yml
+14
-23
Rakefile
Rakefile
+4
-1
No files found.
.travis.yml
View file @
70ee408b
# Sets Travis to run the Ruby specs on OS X machines to be as close as possible
os
:
# to the user environment.
-
osx
#
language
:
ruby
language
:
objective-c
cache
:
bundler
addons
:
rvm
:
code_climate
:
-
system
repo_token
:
501acd9bc61d80ef6119b69ab42c52fa66cefddcc6724a1e93a79c3d3e32bf55
env
:
-
RVM_RUBY_VERSION=system
# - RVM_RUBY_VERSION=1.8.7-p358
before_install
:
before_install
:
-
export LANG=en_US.UTF-8
# There is a bug in travis. When using system ruby, bundler is not
-
curl http://curl.haxx.se/ca/cacert.pem -o /usr/local/share/cacert.pem
# installed and causes the default install action to fail.
-
source ~/.rvm/scripts/rvm
-
sudo gem install bundler
-
if [[ $RVM_RUBY_VERSION != 'system' ]]; then rvm install $RVM_RUBY_VERSION; fi
-
rvm use $RVM_RUBY_VERSION
-
if [[ $RVM_RUBY_VERSION == 'system' ]]; then sudo gem install bundler --no-ri --no-rdoc; else gem install bundler --no-ri --no-rdoc; fi
install
:
after_install
:
-
sudo bundle install --without=documentation
# CocoaPods/CocoaPods specific
-
./bin/pod repo update --silent
-
./bin/pod repo update --silent
script
:
bundle exec rake spec
addons
:
code_climate
:
repo_token
:
501acd9bc61d80ef6119b69ab42c52fa66cefddcc6724a1e93a79c3d3e32bf55
Rakefile
View file @
70ee408b
...
@@ -281,7 +281,10 @@ begin
...
@@ -281,7 +281,10 @@ begin
if
RUBY_VERSION
>=
'1.9.3'
if
RUBY_VERSION
>=
'1.9.3'
require
'rubocop/rake_task'
require
'rubocop/rake_task'
RuboCop
::
RakeTask
.
new
RuboCop
::
RakeTask
.
new
(
:rubocop
)
do
|
task
|
task
.
patterns
=
[
'lib'
,
'spec'
]
end
end
end
rescue
LoadError
,
NameError
=>
e
rescue
LoadError
,
NameError
=>
e
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment