Skip to content

Commit c5be817

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

File tree

2 files changed

+31
-23
lines changed

2 files changed

+31
-23
lines changed

.circleci/config.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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+
pip install pipenv
19+
pipenv install
20+
- run:
21+
name: Build Docker image
22+
command: docker build -t readthedocs/build:7.0 .
23+
- run:
24+
name: Run tests
25+
command: pipenv run pytest -m image_70
26+
27+
workflows:
28+
version: 2
29+
tests:
30+
jobs:
31+
- tests

.travis.yml

-23
This file was deleted.

0 commit comments

Comments
 (0)