forked from readthedocs/readthedocs.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Travis cut to half the number of builds for open source projects, this is slower builds. We are already paying for circleci.
- Loading branch information
Showing
5 changed files
with
73 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
version: 2.1 | ||
|
||
default: &default | ||
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 | ||
|
||
jobs: | ||
tests: | ||
<<: *default | ||
docker: | ||
- image: 'cimg/python:3.6' | ||
environment: | ||
TOXENV: py36,codecov | ||
TOX_POSARGS: '' | ||
- image: 'docker.elastic.co/elasticsearch/elasticsearch:6.8.12' | ||
name: search | ||
|
||
lint: | ||
<<: *default | ||
docker: | ||
- image: 'cimg/python:3.6' | ||
environment: | ||
TOXENV: lint | ||
|
||
migrations: | ||
<<: *default | ||
docker: | ||
- image: 'cimg/python:3.6' | ||
environment: | ||
TOXENV: migrations | ||
|
||
docs: | ||
<<: *default | ||
docker: | ||
- image: 'cimg/python:3.6' | ||
environment: | ||
TOXENV: docs | ||
|
||
docs-lint: | ||
<<: *default | ||
docker: | ||
- image: 'cimg/python:3.6' | ||
environment: | ||
TOXENV: docs-lint | ||
|
||
eslint: | ||
<<: *default | ||
docker: | ||
- image: 'cimg/python:3.6' | ||
environment: | ||
TOXENV: eslint | ||
NODE_VERSION: 10.17.0 | ||
|
||
workflows: | ||
version: 2 | ||
test: | ||
jobs: | ||
- lint | ||
- migrations | ||
- docs | ||
- docs-lint | ||
- eslint | ||
- tests |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters