summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2020-11-16 15:01:34 +0100
committerAlexandre Flament <alex@al-f.net>2020-11-17 15:09:06 +0100
commit9c25cd99c4b2bbeeb96f0a4efc3b2c21b06e1881 (patch)
tree835c15bac5747abab8e5b8c98a15329dd81bc818 /.travis.yml
parenta30d9f26556b9445ecb909ea2f3d88aebd6c44e7 (diff)
[mod] use github actions instead of travis
fix https://github.com/searx/searx/issues/2279
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml77
1 files changed, 0 insertions, 77 deletions
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 951f292b2..000000000
--- a/.travis.yml
+++ /dev/null
@@ -1,77 +0,0 @@
-os: linux
-dist: bionic
-language: python
-cache:
- - directories:
- - $HOME/.cache/pip
-addons:
- firefox: "latest"
-
-install:
- - env
- - which python; python --version
- - make V=1 install
- - make V=1 gecko.driver
- - make V=1 node.env
- - make V=1 travis.codecov
-script:
- - make V=1 themes
- - make V=1 test
-after_success:
- - make V=1 test.coverage
- - codecov
-
-stages:
- - test
- - name: documentation
- if: env(GITHUB_TOKEN) IS present
- - name: docker
- if: branch = master AND type != pull_request AND env(DOCKER_USERNAME) IS present
-
-jobs:
- include:
- - python: "3.5"
- - python: "3.6"
- - python: "3.7"
- - python: "3.8"
- - stage: documentation
- python: "3.8"
- addons: []
- before_install:
- - sudo ./utils/searx.sh install buildhost
- install: true
- script:
- - SEARX_DEBUG=1 make travis-gh-pages
- after_success: true
- deploy:
- provider: pages
- edge: false
- token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
- strategy: git
- skip_cleanup: true
- keep_history: true
- local_dir: gh-pages
- target_branch: gh-pages
- on:
- branch: master
- - stage: docker
- python: "3.8"
- git:
- depth: false
- services:
- - docker
- addons: []
- before_install: true
- install: true
- script:
- - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- - make -e GIT_URL=$(git remote get-url origin) docker.push
- after_success: true
-
-notifications:
- irc:
- channels:
- - "irc.freenode.org#searx"
- template:
- - "%{repository}/#%{build_number}/%{branch} (%{author}): %{message} %{build_url}"
- on_success: change