mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
travis: use build environment from Makefile
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
1075f58a72
commit
d7523071a0
21
.travis.yml
21
.travis.yml
@ -1,8 +1,6 @@
|
||||
language: python
|
||||
sudo: false
|
||||
cache:
|
||||
- pip
|
||||
- npm
|
||||
- directories:
|
||||
- $HOME/.cache/pip
|
||||
|
||||
@ -10,17 +8,16 @@ addons:
|
||||
firefox: "latest"
|
||||
|
||||
install:
|
||||
- ./manage.sh install_geckodriver ~/drivers
|
||||
- export PATH=~/drivers:$PATH
|
||||
- ./manage.sh npm_packages
|
||||
- ./manage.sh update_dev_packages
|
||||
- pip install codecov
|
||||
- make install
|
||||
- make gecko.driver
|
||||
- make node.env
|
||||
- local/py3/bin/pip install codecov
|
||||
script:
|
||||
- ./manage.sh styles
|
||||
- ./manage.sh grunt_build
|
||||
- ./manage.sh tests
|
||||
- make styles
|
||||
- make themes
|
||||
- make test
|
||||
after_success:
|
||||
- ./manage.sh py_test_coverage
|
||||
- make test.coverage
|
||||
- codecov
|
||||
|
||||
stages:
|
||||
@ -44,7 +41,7 @@ jobs:
|
||||
install: true
|
||||
script:
|
||||
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||
- ./manage.sh docker_build push
|
||||
- local/py3/bin/activate; ./manage.sh docker_build push
|
||||
after_success: true
|
||||
|
||||
notifications:
|
||||
|
Loading…
Reference in New Issue
Block a user