-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
46 lines (37 loc) · 873 Bytes
/
.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
40
41
42
43
44
45
46
language: swift
xcode_project: ViewElementsCore/ViewElementsCore.xcodeproj
matrix:
include:
xcode_scheme: ViewElementsCore
osx_image: xcode9.3
branches:
only:
- master
- release
env:
- LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8
before_install:
- rvm install ruby-2.3.0
- gem install cocoapods
- gem install xcpretty -N
- brew update
after_success:
- bash <(curl -s https://codecov.io/bash)
machine:
xcode:
version: "9.3"
deploy:
provider: script
script: sh scripts/push.sh
on:
tag: true
branch: release
script:
- set -o pipefail
- xcodebuild -destination 'platform=iOS Simulator,name=iPhone 5s,OS=11.3' -project ViewElementsCore/ViewElementsCore.xcodeproj -scheme ViewElementsCore build test | xcpretty
notifications:
email:
recipients:
- aun.wirawit@gmail.com
on_success: never
on_failure: always