.travis.yml
author Mihai Tabara <mtabara@mozilla.com>
Fri, 15 Sep 2017 17:20:16 +0300
changeset 7852 e7efa4f81256a394cd1f84eee86472c0e966911f
parent 6812 68f7a6330a750c249e0c4d13c4ccb12342716acf
child 8435 7bbed332c7b21a868142cc2a8a35b254e9585d83
permissions -rw-r--r--
Bug 1347635 - Add releaserunner2 logic to handle Fennec integration. r=rail

language: python
python:
  - "2.7"

sudo: false

env:
  global:
    - PIP_FIND_LINKS=file://$HOME/.cache/pip
    - PIP_CACHE_DIR=$HOME/.cache/pip
    - TOX_ENV=py27-hg3.7

cache:
  directories:
    - $HOME/.cache/pip
    - $TRAVIS_BUILD_DIR/.tox

before_script:
  - git config --global user.email "travis@travis-ci.org"
  - git config --global user.name "Travis McTravis"
  - cp lib/python/mozilla_buildtools/test/hgrc ~/.hgrc

install:
  - pip install tox==1.9.2

script:
  - tox -e $TOX_ENV
  # Remove logs to avoid cache uploads
  - rm -rf $HOME/.cache/pip/log

after_script:
  - tox -e py27-coveralls

# The channel name "irc.mozilla.org#releng" is encrypted against mozilla/build-tools to prevent IRC spam of forks
notifications:
  irc:
    channels:
      - secure: VStaKCWB7rIbCJEb5hh0sGmtMxTCvm9s4WN3H00BTeNJ7DGQNP4o7b7dN637o80RzVOEE22yMMw2e4fn4wAtqG1A+0DKtcrr6KtOislDmXnex37pi90qP0I8yNEAyh7NzhGNP5u7/HP1VSwI7mgMEOyMHYa5lX7KijABcAnBybU=
    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)"