diff --git a/.codecov.yml b/.codecov.yml deleted file mode 100644 index 8c2e49f..0000000 --- a/.codecov.yml +++ /dev/null @@ -1,3 +0,0 @@ -coverage: - ignore: - - "Tests/" diff --git a/README.md b/README.md index acdefd4..7e06425 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,8 @@ # Geodesy Functions for Swift -![Swift](http://img.shields.io/badge/swift-5.2-brightgreen.svg) -![Platforms](https://img.shields.io/badge/platforms-macOS%20%7C%20Linux-blue.svg) -![Package Managers](https://img.shields.io/badge/package%20managers-SwiftPM-yellow.svg) -[![Latest Release](https://img.shields.io/github/release/florianreinhart/Geodesy.svg)](https://github.com/florianreinhart/Geodesy/releases/latest) -[![Build Status](https://github.com/florianreinhart/Geodesy/workflows/Swift/badge.svg)](https://github.com/florianreinhart/Geodesy/actions) -[![Code Coverage](https://codecov.io/gh/florianreinhart/Geodesy/branch/master/graph/badge.svg)](https://codecov.io/gh/florianreinhart/Geodesy) +[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fflorianreinhart%2FGeodesy%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/florianreinhart/Geodesy) +[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fflorianreinhart%2FGeodesy%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/florianreinhart/Geodesy) +[![Build](https://github.com/florianreinhart/Geodesy/workflows/test/badge.svg)](https://github.com/florianreinhart/Geodesy/actions) This is a port of the excellent [JavaScript geodesy module by Chris Veness](https://github.com/chrisveness/geodesy) to Swift. diff --git a/codecov.sh b/codecov.sh deleted file mode 100644 index 85d16f9..0000000 --- a/codecov.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash - -if [ $TRAVIS_OS_NAME == "osx" ]; then - PROJ_OUTPUT=`swift package generate-xcodeproj`; - PROJ_NAME="${PROJ_OUTPUT/generated: .\//}" - SCHEME_NAME="${PROJ_NAME/.xcodeproj/}-Package" - rvm install 2.2.3 - gem install xcpretty - WORKING_DIRECTORY=$(PWD) - xcodebuild -project $PROJ_NAME -scheme $SCHEME_NAME -sdk macosx10.13 -destination arch=x86_64 -configuration Debug -enableCodeCoverage YES test | xcpretty - bash <(curl -s https://codecov.io/bash) -fi