Skip to content

CI: use circleci #7603

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
version: 2.1

jobs:
tests:
docker:
- image: 'cimg/python:3.6'
environment:
TOX_POSARGS: ''
- image: 'docker.elastic.co/elasticsearch/elasticsearch:6.8.12'
name: search
steps:
- checkout
- run: git submodule sync
- run: git submodule update --init
- run: pip install --user tox
- run: tox -e py36,codecov

checks:
docker:
- image: 'cimg/python:3.6'
environment:
NODE_VERSION: 10.17.0
steps:
- checkout
- run: git submodule sync
- run: git submodule update --init
- run: pip install --user tox
- run: scripts/circle/install_node.sh
- run:
name: Add node to the path
command: |
echo 'export PATH=~/.nvm/versions/node/v${NODE_VERSION}/bin:$PATH' >> $BASH_ENV
source $BASH_ENV
- run: tox -e migrations
- run: tox -e lint
- run: tox -e docs-lint
- run: tox -e docs
- run: tox -e eslint

workflows:
version: 2
test:
jobs:
- checks
- tests
52 changes: 0 additions & 52 deletions .travis.yml

This file was deleted.

File renamed without changes.
7 changes: 0 additions & 7 deletions scripts/travis/install_elasticsearch.sh

This file was deleted.

4 changes: 0 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ minversion=2.9.0
envlist = py36,lint,docs
skipsdist = True

[travis]
python =
3.6: py36, codecov

[testenv]
description = run test suite for the application with {basepython}
setenv =
Expand Down