-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
39 lines (39 loc) · 2.22 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
language: swift
os: osx
osx_image:
- xcode9
- xcode9.4
- xcode10
xcode_project: SwiftRoaring
xcode_scheme: SwiftRoaring-Package
env:
global:
- FRAMEWORK_NAME=SwiftRoaring
- GITHUB_REPO: piotte13/SwiftRoaring
- secure: q/TIN9YBp3Sp4Ld5Rm8InO2n433ouFRKw7KF5JEB2gzPXretLH2UPVMqrkIRkW5NwnsT8CgM3d6q5QPRpvIoAs+3cxaOy2CaCZ7ij0w5dtkIh3wQfqUbzXTZ7p8h18ikOvUE26mTHXlBKPSO1vZUGsXTEe9BgqdDW3ojqPJX/Yq/xOEo4+UyceuekvOYUhg7jN/CxjLbkBcnwFFr46/nQLUOeJIpewyHjw/vX1MASTZXQ6wnucDXy5QSD5vIasmB5zld+ryYNtfDyuaCB8desnQWCMQZ6Wjxy992tLrHDOvaepjwFkBDnaJL3hGUhm5Z5lG0p6Qccd2JCZcc4WRy/b7+WpAHwIfDAgfCbaG9gYQPwOYrKVmLXtTUc+IZZS1o/xY/Yu08P9FajncvLuV7dSMO8bfV7B/FuVH8eFbTyoTQKioqGbeHbFJSipG7eMvlbxY9OPevTsUySOBgRREwNckygN+PjqS/bqSAmstzdpAxkbs7UUydTor8prjKIdH+RKeTnDyF4Mcd7sNg4oUcxl2c2O6xH6Btzz7q0zFi2qxTjI5/VSd7ilQzSe9ulwOTHC90sRXPVcmkxWQa7NqSgpsoY8FkIQTubXYFNX2tDvPUi1a6Dz3HMw4bpLnXLdI1uPOjUbLqTZl+NwlKc1AiK4Lsn33NHSZ5WuIb0CfQ96g=
before_install:
- brew update
- brew outdated carthage || brew upgrade carthage
before_script:
- gem install xcpretty
- gem install jazzy
- carthage bootstrap
script:
- swift package generate-xcodeproj
- set -o pipefail && xcodebuild -scheme SwiftRoaring-Package -enableCodeCoverage YES
clean build test | xcpretty
- bash ./Scripts/deploy-to-gh-pages.sh
before_deploy:
- carthage build --no-skip-current
- carthage archive $FRAMEWORK_NAME
after_success:
- bash <(curl -s https://codecov.io/bash) -J 'SwiftRoaring'
deploy:
provider: releases
api_key:
secure: abDSRz9NV1PuEFrXF7yBAiSoRFsMS97Oc/b1dNGs/B3v2vlynjioYrIFZmdrwk34pFwbkR9qUTEl5oeUY/1M3tKmC/JDbJC9+7i128ITzwjfZpSmlPp7JA1JHcbvPFPEIASn6DULayTVe8f5HN1QbFGYFbPPHss6FXEKBDoc0/dftv7bGSdE3ZkE61vgwS/HeuVvAssfAE0OVpUHO/TVC3vk9R2uBoFflDZZFeAqcSn1PPltHqCVprjUXHWkYGrKIv6aJ5goArODSUdOKea7oaV67Hq8Aaq8Ul4IpemsinmAlQ7mdYDlnYxu1P4NTUzWKa/ZS5LccIp55Nd70uOVmNUJlAeic8ewk/PrW8+kf+GOVraSoA1QjarSDrcY4L1g/wQ1xD5Tr2I4K9VYIg8ewOOnAE10Ru8LuJJmRrddUJ19IkvxkPElJUq7fp1K+sABnyO7HOkMQnv3QmKFxK+8DSRy4J0jS1V4HMDap2u2IusJ5cPWNXasveXnpLa+7STOCtbXIK0cq2SmngnVOHlvImb7JvoTNPX/Qwy6WAYcwix01IyRIWl2SBMqwdoQuguux8MPC4FPifssrmXB0dNkGY5IW1umyjfSOUYJYbhGHMIEW0ZgHpLuXu+I/QHPBJUFVy6OuAIk4rceyVo3Gf/RKukC/ekxZ3cwOnzus5qlTCk=
file: "$FRAMEWORK_NAME.framework.zip"
skip_cleanup: true
on:
repo: piotte13/SwiftRoaring
tags: true