forked from mozilla-releng/build-buildbot-configs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
41 lines (33 loc) · 1.2 KB
/
Copy path.travis.yml
File metadata and controls
41 lines (33 loc) · 1.2 KB
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
language: python
python:
- "2.7"
dist: precise
sudo: false
env:
global:
- PIP_FIND_LINKS=file://$HOME/.cache/pip
- PIP_CACHE_DIR=$HOME/.cache/pip
matrix:
- TOX_ENV=flake8 IGNORE_FAILURES=true
- TOX_ENV=py27
- TOX_ENV=py27-unittests
cache:
directories:
- $HOME/.cache/pip
- $TRAVIS_BUILD_DIR/.tox
install:
- pip install tox
script:
- if [[ $IGNORE_FAILURES == true ]]; then tox -e $TOX_ENV || true; else tox -e $TOX_ENV; fi
# Remove logs to avoid cache uploads
- rm -rf $HOME/.cache/pip/log
# The channel name "irc.mozilla.org#releng" is encrypted against mozilla/build-buildbot-configs to prevent IRC spam of forks
# Generated with: travis encrypt --repo mozilla/build-buildbot-configs --skip-version-check irc.mozilla.org#releng
notifications:
irc:
channels:
- secure: "f1e47N3dMJqHZ/uIctX3P+fmRf0yy3o2CCroKyCgMG3GxvCDocG1hdTtI7mRmaynWASGJNfZlQRO244tHQEjnv/SRNGtO/8GGvGF0h2gJDVho0SG1HSLRSk4jJvlrDAMjLRobDJBU6dT6cGQGhYVVXbIsjI8yS3P5Qe2cbIw4Jo="
on_success: always
on_failure: always
template:
- "\x02%{repository_name}\x0314#%{build_number}\x03\x02 (%{branch} - %{commit} : %{author}): \x02\x0312%{message}\x02\x03 (\x0314%{build_url}\x03)"