2017-01-19 17:20:50 +03:00
|
|
|
sudo: required
|
2015-02-03 18:21:17 +03:00
|
|
|
language: python
|
2016-11-23 16:30:29 +03:00
|
|
|
python:
|
2016-11-11 18:18:39 +03:00
|
|
|
- 2.7
|
2017-03-23 16:55:45 +03:00
|
|
|
- 3.6
|
2016-02-05 16:37:48 +03:00
|
|
|
addons:
|
2017-05-04 18:04:22 +03:00
|
|
|
firefox: 53.0
|
2016-11-23 16:30:29 +03:00
|
|
|
env:
|
2016-11-11 18:18:39 +03:00
|
|
|
global:
|
|
|
|
- DISPLAY=:99.0
|
2016-11-23 16:30:29 +03:00
|
|
|
matrix:
|
2016-11-11 18:18:39 +03:00
|
|
|
include:
|
|
|
|
- python: 2.7
|
2016-11-23 16:30:29 +03:00
|
|
|
env: TOXENV=flake8
|
2016-11-11 18:18:39 +03:00
|
|
|
- python: 2.7
|
2016-11-23 16:30:29 +03:00
|
|
|
env: TOXENV=py27
|
2017-03-23 16:55:45 +03:00
|
|
|
- python: 3.6
|
2016-11-23 16:30:29 +03:00
|
|
|
env: TOXENV=flake8
|
2017-03-23 16:55:45 +03:00
|
|
|
- python: 3.6
|
|
|
|
env: TOXENV=py36
|
2016-11-11 18:18:39 +03:00
|
|
|
exclude:
|
|
|
|
- python: 2.7
|
2017-03-23 16:55:45 +03:00
|
|
|
- python: 3.6
|
2017-05-02 20:33:45 +03:00
|
|
|
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:
|
2016-11-11 18:18:39 +03:00
|
|
|
- pip install tox
|
2016-07-28 17:38:32 +03:00
|
|
|
before_script:
|
2016-11-11 18:18:39 +03:00
|
|
|
- sh -e /etc/init.d/xvfb start
|
2016-02-05 16:37:48 +03:00
|
|
|
script:
|
2016-11-11 18:18:39 +03:00
|
|
|
- tox
|
2015-02-03 18:21:17 +03:00
|
|
|
notifications:
|
2017-01-30 13:25:30 +03:00
|
|
|
email: fte-ci@mozilla.com
|
2016-10-20 21:57:42 +03:00
|
|
|
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
|
2016-11-23 16:30:29 +03:00
|
|
|
condition: "$TOXENV = py27"
|