Skip to content

Commit 25d5581

Browse files
committed
Tests: run them in CircleCI instead of TravisCI
1 parent 133f777 commit 25d5581

File tree

2 files changed

+32
-23
lines changed

2 files changed

+32
-23
lines changed

.circleci/config.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
version: 2
2+
3+
jobs:
4+
tests:
5+
docker:
6+
- image: circleci/python:3.6
7+
environment:
8+
PIPENV_VENV_IN_PROJECT=1
9+
PIPENV_IGNORE_VIRTUALENVS=1
10+
steps:
11+
- checkout
12+
- setup_remote_docker:
13+
version: 20.10.6
14+
docker_layer_caching: true
15+
- run:
16+
name: Setup
17+
command: |
18+
docker pull readthedocs/build:master
19+
pip install pipenv
20+
pipenv install
21+
- run:
22+
name: Build Docker image
23+
command: docker build --cache-from readthedocs/build:master -t readthedocs/build:master .
24+
- run:
25+
name: Run tests
26+
command: pipenv run pytest -m image_master
27+
28+
workflows:
29+
version: 2
30+
tests:
31+
jobs:
32+
- tests

.travis.yml

-23
This file was deleted.

0 commit comments

Comments
 (0)