summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-03-26 19:14:07 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2020-03-26 19:14:07 +0100
commitd7523071a0ba8c210f7ece31d8e30f5c360966c3 (patch)
tree0f08e19be8f32b49a4dde2cc626544081dad26ca /.travis.yml
parent1075f58a722fad7801a7b8397cd7e6de31d99da2 (diff)
downloadsearxng-d7523071a0ba8c210f7ece31d8e30f5c360966c3.tar.gz
searxng-d7523071a0ba8c210f7ece31d8e30f5c360966c3.zip
travis: use build environment from Makefile
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml21
1 files changed, 9 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml
index e37b65864..ca986d04d 100644
--- a/.travis.yml
+++ b/.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: