Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
.travis.yml for Ubiregi iPad App
language: objective-c
cache:
directories:
- vendor/bundle
- Pods
install:
- bundle install --path=vendor/bundle --binstubs=vendor/bin
- bundle exec pod install
script:
- '[ ! -z $(echo ${TRAVIS_BRANCH} | grep "^release.*$") ] && CONFIG=release || CONFIG=adhoc'
- echo ${TRAVIS_BRANCH}
- echo ${CONFIG}
- bundle exec rake $(echo ${ACTION} | sed -e "s/CONFIG/${CONFIG}/g")
env:
global:
- LANG=en_US.UTF-8
- LC_ALL=en_US.UTF-8
- secure: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
matrix:
- ACTION="profile:install certificate:add distribute:CONFIG certificate:remove"
- ACTION=test
notifications:
hipchat:
rooms:
- XXXXXXXXXXXXXXXXXXXX@Dev
on_success: never
on_failure: always
format: html
template:
- '<a href="%{build_url}">%{repository}#%{build_number}</a> (<a href="%{compare_url}">%{branch} - %{commit} : %{author}</a>)'
webhooks:
- https://www.example.com/hooks/travisci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.