Commit Graph

38 Commits

Author SHA1 Message Date
Dalf d425e26e80 [fix] fix travis build 2020-03-31 11:59:54 +02:00
Markus Heiser ca65d41da5 [fix] travis: reomve 'make style' from travis build
Commit 8a16903a removes Makefile target style

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-29 12:22:02 +02:00
Markus Heiser d7523071a0 travis: use build environment from Makefile
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2020-03-26 19:14:07 +01:00
Dalf 609ac5795a .travis.yml: robot tests: remove the xvfb dependency 2019-07-13 15:49:59 +02:00
Dalf fbe40001d3 Update Docker image
See #1561 , use uwsgi and Alpine Linux

Volume:
/var/log/uwsgi contains error log for 2 days (file uwsgi.log)
/etc/searx contains the settings.yml and uwsgi.ini files.
The docker image creates them if they don't exist.
The two files can be modified after the first run. See below.

Environement variables:
MORTY_URL : external URL of Morty
MORTY_KEY : base64 encoded key
BASE_URL : external URL of Searx
BIND_ADDRESS : internal HTTP port to listen to

Labels : org.label-schema.schema.*

Parameters:
-h : display this help
-d : will update the settings and quit immediately (settings.yml and uwsgi.ini)
-f : always update the settings (previous version saved with suffix .old).
     without this parameter, the new settings are copied with suffix .new

When the Docker image contains newer settings:
- without -f parameter: the new versions are copied to /etc/searx/settings.yml.new and /etc/searx/uwsgi.ini.new.
- with -f parameter:  the old versions are renamed with .old suffix. The new version replaces /etc/searx/settings.yml and /etc/searx/uwsgi.ini

Build using "./manage.sh docker_build", add "push" as parameter also push the Docker image.
The script requires a git repository to work (it makes sure that the last git tag matches searx/version.py)
"git describe" is used to create a meaningful version.
Example : 0.15.0-90-49c5bcb4-dirty (dirty means that the docker image was made with uncommited changes).

Use "docker inspect -f {{.Config.Labels.version}} searx" to get the version of an existing image.

.dockerignore based on .gitignore

.travis.yml: include docker stage
2019-07-13 15:49:59 +02:00
Marc Abonce Seguin 5947c05649 add CI test for python3.5
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
2018-01-16 22:29:04 -06:00
Alexandre Flament 5dc8b271f0 [mod] simplify manage.sh
- npm install less@2.7 less-plugin-clean-css grunt-cli is moved inside manage.sh
- if it is possible to source manage.sh to update the PATH (to start grunt)
- tidy the help documentation
- update the geckodriver version to 0.19.1
2017-12-10 10:39:12 +01:00
marc db27c6fa5f fix less to stable version
3.0 is still alpha and currently breaks when building styles
2017-10-10 19:10:36 -05:00
Alexandre Flament fb587f11fe Switch to code-cov 2017-09-17 17:52:22 +02:00
Alexandre Flament d87eb4da61 [mod] travis build : travis uses ./manage.sh to install the geckodriver
./manage.sh don't build css that are built by ./manage.sh grunt_build
2017-08-13 14:01:09 +02:00
Alexandre Flament 57dc6b625f [fix] travis build : various fix about grunt builds 2017-08-13 13:41:59 +02:00
Alexandre Flament d0cebd6e77 [fix] fix selenium tests 2017-08-13 12:57:08 +02:00
Alexandre Flament 10a24bdc2c [enh] add simple theme (WIP) 2017-08-06 16:04:21 +02:00
Adam Tauber 52e615dede [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
Adam Tauber 684ceab1c3 [enh] add latest firefox addon to travis 2016-10-22 02:32:36 +02:00
Adam Tauber ecd2e1fac0 [fix] add missing gecko executable to travis 2016-10-22 02:23:03 +02:00
Adam Tauber 257e52954a [enh][fix] update to latest dependencies ++ fix tests & travis test runner
WARNING: dependency changes
2016-07-04 22:46:43 +02:00
a01200356 a5238ce8d1 [fix] install npm packages locally on .travis.yml
for some reason installing grunt globally caused travis test to fail.
2016-03-21 21:46:37 -06:00
Adam Tauber 28a9b5113e [mod] update core deps with dev deps 2016-01-10 19:23:10 +01:00
Adam Tauber 52323a4b4e [fix] grunt action name 2016-01-10 19:23:10 +01:00
Adam Tauber 3498b7c53f [fix] manage.sh command names 2016-01-10 19:23:10 +01:00
Adam Tauber 53979a7bf7 [mod] remove buildout/makefile infrastructure 2016-01-10 19:23:10 +01:00
Thomas Pointhuber cf932ee6a0 [fix] yml 2015-09-01 20:03:32 +02:00
Thomas Pointhuber e9c33572e9 [fix] also cache "/.cache/pip" 2015-09-01 20:02:08 +02:00
Thomas Pointhuber ae5bf6e49f [enh] Migrating Travis CI from legacy to container-based infrastructure
This patch should speedup testing with Travis CI using caching and
container-based infrastructure.

source:
- http://docs.travis-ci.com/user/migrating-from-legacy/
- http://docs.travis-ci.com/user/caching/
2015-09-01 19:43:32 +02:00
Cqoicebordel ccf3d80107 Stop running twice the tests on Travis 2015-02-03 20:16:24 +01:00
Adam Tauber 8151585918 [fix] static file paths 2015-01-01 17:54:33 +01:00
Thomas Pointhuber 427ee531be [fix] .travis.yml - add grunt-cli to npm install 2014-11-30 13:32:32 +01:00
Thomas Pointhuber f72f66a0cf [fix] fix .travis.yml to install npm dependent packages 2014-11-30 13:25:16 +01:00
Thomas Pointhuber e687f5c290 [enh][oscar_template] split js-files and compile them together 2014-11-30 13:21:58 +01:00
Gabor Nagy bcc08879f9 Add coveralls.io 2014-07-09 00:08:25 +02:00
Thomas Pointhuber e8b74c9e09 using npm instead of apt-get in .travis.yml 2014-03-05 16:59:44 +01:00
Thomas Pointhuber 3032e15e3a fix .travis.yml 2014-03-05 16:25:00 +01:00
Thomas Pointhuber c62528d848 fix .travis.yml 2014-03-05 16:16:30 +01:00
Thomas Pointhuber 6d9affc1fc fix .travis.yml 2014-03-05 16:06:33 +01:00
Thomas Pointhuber 425ec3b707 Using .less instead of .css
to generate the .css file from the .less file run: $make styles
2014-03-05 15:20:30 +01:00
asciimoo 9602af3654 [mod] travis notification mods 2014-01-30 14:46:51 +01:00
Matej Cotman 6624dd51f5 add robot tests 2014-01-29 04:58:10 +01:00