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
6178b926
Unverified
Commit
6178b926
authored
Oct 21, 2016
by
Samuel Giddins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Travis] Download a tarball of the master specs repo from GitHub
parent
f5133b57
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
.travis.yml
.travis.yml
+19
-1
No files found.
.travis.yml
View file @
6178b926
language
:
ruby
language
:
ruby
cache
:
bundler
cache
:
bundler
:
true
git
:
# we do these manually to just download a tarball of the master submodule
submodules
:
false
matrix
:
matrix
:
include
:
include
:
...
@@ -31,6 +36,19 @@ branches:
...
@@ -31,6 +36,19 @@ branches:
-
/.+-stable$/
-
/.+-stable$/
before_install
:
before_install
:
-
|
if [ "$COCOAPODS_CI_TASKS" != "LINT" ]; then
master_sha="$(ruby -e "puts '`git submodule status spec/fixtures/spec-repos/master`'.strip.sub(/^-/, '').split(/\s/, 2).first")"
curl -ssL "https://github.com/CocoaPods/Specs/archive/$master_sha.tar.gz" | tar xz -C spec/fixtures/spec-repos
git rm spec/fixtures/spec-repos/master
mv "spec/fixtures/spec-repos/Specs-$master_sha" spec/fixtures/spec-repos/master
(
cd spec/fixtures/spec-repos/master
git init
git remote add origin https://github.com/CocoaPods/Specs.git
)
git submodule update --init
fi
# There is a bug in travis. When using system ruby, bundler is not
# There is a bug in travis. When using system ruby, bundler is not
# installed and causes the default install action to fail.
# installed and causes the default install action to fail.
-
if [ "$TRAVIS_RUBY_VERSION" = "system" ]; then sudo gem install "bundler:~> 1.13"; else gem install "bundler:~> 1.13"; fi
-
if [ "$TRAVIS_RUBY_VERSION" = "system" ]; then sudo gem install "bundler:~> 1.13"; else gem install "bundler:~> 1.13"; fi
...
...
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