mirror of
https://github.com/searx/searx
synced 2024-11-16 06:56:51 +01:00
5947c05649
Python3.5 is still the default Python3 version in Debian Stretch (stable) and Ubuntu 16.04 LTS https://packages.debian.org/source/stretch/python3-defaults https://packages.ubuntu.com/source/xenial/python/python3-defaults
37 lines
747 B
YAML
37 lines
747 B
YAML
sudo: false
|
|
cache:
|
|
- pip
|
|
- npm
|
|
- directories:
|
|
- $HOME/.cache/pip
|
|
addons:
|
|
firefox: "latest"
|
|
language: python
|
|
python:
|
|
- "2.7"
|
|
- "3.5"
|
|
- "3.6"
|
|
before_install:
|
|
- "export DISPLAY=:99.0"
|
|
- "sh -e /etc/init.d/xvfb start"
|
|
install:
|
|
- ./manage.sh install_geckodriver ~/drivers
|
|
- export PATH=~/drivers:$PATH
|
|
- ./manage.sh npm_packages
|
|
- ./manage.sh update_dev_packages
|
|
- pip install codecov
|
|
script:
|
|
- ./manage.sh styles
|
|
- ./manage.sh grunt_build
|
|
- ./manage.sh tests
|
|
after_success:
|
|
- ./manage.sh py_test_coverage
|
|
- codecov
|
|
notifications:
|
|
irc:
|
|
channels:
|
|
- "irc.freenode.org#searx"
|
|
template:
|
|
- "%{repository}/#%{build_number}/%{branch} (%{author}): %{message} %{build_url}"
|
|
on_success: change
|