fxapom/.travis.yml

49 строки
1.1 KiB
YAML
Исходник Обычный вид История

sudo: required
2015-02-03 18:21:17 +03:00
language: python
python:
- 2.7
- 3.6
2016-02-05 16:37:48 +03:00
addons:
firefox: 53.0
env:
global:
- DISPLAY=:99.0
matrix:
include:
- python: 2.7
env: TOXENV=flake8
- python: 2.7
env: TOXENV=py27
- python: 3.6
env: TOXENV=flake8
- python: 3.6
env: TOXENV=py36
exclude:
- python: 2.7
- python: 3.6
before_install:
- wget -O geckodriver.tar.gz https://github.com/mozilla/geckodriver/releases/download/v0.16.1/geckodriver-v0.16.1-linux64.tar.gz
- gunzip -c geckodriver.tar.gz | tar xopf -
- chmod +x geckodriver && sudo mv geckodriver /usr/local/bin
- firefox --version
- geckodriver --version
2016-02-05 16:37:48 +03:00
install:
- pip install tox
2016-07-28 17:38:32 +03:00
before_script:
- sh -e /etc/init.d/xvfb start
2016-02-05 16:37:48 +03:00
script:
- tox
2015-02-03 18:21:17 +03:00
notifications:
email: fte-ci@mozilla.com
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"