fxapom/.travis.yml

48 строки
998 B
YAML

language: python
python:
- 2.7
- 3.5
addons:
firefox: 47.0.1
env:
global:
- DISPLAY=:99.0
matrix:
include:
- python: 2.7
env: TOXENV=flake8
- python: 2.7
env: TOXENV=py27
- python: 2.7
env: TOXENV=py27-marionette
- python: 3.5
env: TOXENV=flake8
- python: 3.5
env: TOXENV=py35
- python: 3.5
env: TOXENV=py35-marionette
exclude:
- python: 2.7
- python: 3.5
allow_failures:
- env: TOXENV=py35-marionette
install:
- pip install tox
before_script:
- sh -e /etc/init.d/xvfb start
script:
- tox
notifications:
email: webqa-ci@mozilla.org
deploy:
provider: pypi
user: davehunt
password:
secure: GyTB/x+/F1DNmAWF4K8keaBgwUTq6AVgCfdMzArPSLiHxs4Fi98Y44U6YM4fy5qwZ8oJxYYwdlWoooStIYouV8PEg0GOl+x1m7eb02XXZEufVUqQ4p5sN3HHeUmj2Et0j0o0AkUvAZjY2zCS3hI9U8wH+rLrkyR/1g8a88HLeHo=
distributions: sdist bdist_wheel
on:
tags: true
repo: mozilla/fxapom
python: 2.7
condition: "$TOXENV = py27"