Skip to content

Commit

Permalink
Merge pull request #1 from modestman/ci
Browse files Browse the repository at this point in the history
Travis CI configuration and update .podspec
  • Loading branch information
Alexander-Ignition authored Jul 18, 2019
2 parents 329bb12 + 364dfe0 commit a20a6fa
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
24 changes: 24 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
osx_image: xcode10.2
language: swift
env:
- SWIFT_VERSION=5.0
addons:
homebrew:
packages:
- libressl
update: true

script:
- make test

before_deploy:
- make release
- zip -r catbird.zip catbird start.sh stop.sh LICENSE Public Resources Sources/CatbirdAPI

deploy:
provider: releases
api_key: $GITHUB_OAUTH_TOKEN
skip_cleanup: true
file: catbird.zip
on:
tags: true
6 changes: 3 additions & 3 deletions Catbird.podspec
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Pod::Spec.new do |s|
s.name = 'Catbird'
s.version = '0.0.7'
s.version = '0.0.8'
s.summary = 'Mock server for UI tests'
s.homepage = 'https://github.com/RedMadRobot/catbird'
s.license = { type: 'MIT', file: 'LICENSE' }
s.author = { 'Alexander Ignition' => '[email protected]' }
s.source = { git: 'https://github.com/RedMadRobot/catbird.git', tag: s.version.to_s }
s.source_files = 'Sources/CatbirdAPI/*.swift'
s.preserve_paths = 'catbird', 'start.sh', 'stop.sh', 'Public/*', 'Resources/*'
s.source = { http: "#{s.homepage}/releases/download/#{s.version}/catbird.zip" }
s.preserve_paths = '*'
s.ios.deployment_target = '10.0'
s.swift_version = '5'
end

0 comments on commit a20a6fa

Please sign in to comment.