forked from Hammerspoon/hammerspoon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (39 loc) · 1.32 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: objective-c
osx_image: xcode8.2
before_install:
- gem install xcpretty
- gem install xcpretty-travis-profiler-formatter
- pip install -r requirements.txt
before_script:
- make docs
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) >$HOME/codecov.log 2>&1
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"
bucket: hammerspoontravisartifacts
key:
secure: "HJ4xnVX6PbU+H/baT2qEAzkAKi5H3LBTDgrYEGAJ77yxB6fJbyKz19Es+pCVsD1Bqv/cNS44MiVhL8oxGmLZovdCzZeDnir578qzUKiTNAfw2WoCOGmf8Jwp5gD726mCnpLtqefiHADK9VQ53p/0DxWMNAdPAqivG8G+fbd7D+Q="
secret:
secure: "DKxRobGmQWTxQeWNsDMWORe4FBBH8tdtlT43FTSX5/pIoJAfxBV18EHwliI2YRrxtm0kcpsZJ8rf7oeRgezPuKD2auu2CQIxVapVnOG8Lz6wEM8aHVq9OT4jbTusn1m/slKHKe8sjyJanH9thSxe3w1Q8evXzPdRUtnskXAs7Vg="
paths:
- $HOME/build.log
- $HOME/test.log
- $HOME/codecov.log
target_paths: logs/$TRAVIS_BUILD_NUMBER