forked from Hammerspoon/hammerspoon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (40 loc) · 1.34 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
40
env:
global:
- ARTIFACTS_BUCKET=hammerspoontravisartifacts
- secure: "W1awxpwgPSxprZ8/hlMWMM9DDi4CUhJLgCrDdMTpv5WplicuHr/xzD6UWyAlqKAh5Gwti8K1PK0RF4ty0FoTQLUWbIYKkoyvS9BAb4dxXEPFhaWwXUf85ItNvKPzNjCJbUZmnBzBnvLMkIO6bQYP8giu6oAQB5YJzGTrCx5ahnU="
- secure: "TEL0n7UKwhh7mx5IdLAhWN7GMrznOZb/JiqJfKSTh/134uRdofg6V0ofZC67B7sffRjWeFsHRhCl+qIjheJFY4Z4YYPibG4WJaJJdwUaJHU1ZCrwtq2DpeXzLZ+wdJPlK9Zh4Ssqu6+ilfdzk4yF8ZJ/yK7EyB+GB/Xnx/4ts24="
language: objective-c
osx_image: xcode8.2
before_install:
- gem install github-markdown
- defaults write org.hammerspoon.Hammerspoon HSAutoLoadExtensions false
before_script:
- make docs
xcode_workspace: Hammerspoon.xcworkspace
xcode_scheme: Release
script:
- scripts/travis-build.sh build
- scripts/travis-build.sh test
after_script:
- make build/html
after_success:
- bash <(curl -s https://codecov.io/bash)
after_failure:
- tail -500 $HOME/build.log
- tail -500 $HOME/test.log
notifications:
irc:
channels:
- "irc.freenode.net#hammerspoon"
template:
- "%{author} @ %{repository} / %{branch} - Build:#%{build_number} : %{message} - Changes: %{compare_url} - Build details: %{build_url}"
use_notice: true
skip_join: true
addons:
artifacts:
s3_region: "eu-west-1"
paths:
- $HOME/build.log
- $HOME/test.log
target_paths: $TRAVIS_BUILD_NUMBER
debug: true