chore: move to circleci (#266)

Closes #265
pull/277/head
JR Conlin 3 years ago committed by GitHub
parent dfeb6f6847
commit c116417d65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,31 @@
version: 2
jobs:
test:
docker:
- image: debian:stable-slim
auth:
username: $DOCKER_USER
password: $DOCKER_PASS
working_directory: /app
steps:
- run:
name: Install Docker build dependencies
command: |
apt update
apt install -y git python-pip python2.7 build-essential python2.7-dev default-libmysqlclient-dev default-mysql-client
- checkout
- setup_remote_docker
- run:
name: install
command: |
python2.7 --version
pip install virtualenv
make build
- run:
name: test
command: |
make test
build:
docker:
- image: circleci/python
@ -57,6 +83,11 @@ workflows:
build-test-push:
jobs:
- test:
filters:
tags:
only: /.*/
- build:
filters:
tags:

@ -1,27 +0,0 @@
language: python
python:
- "2.7"
# The way the selection of the Python version is currently made in Makefile
# leads to travis always picking up Python 2 for the task.
# All versions of Python are appearantly present in a travis environment.
# Once the makefile has been adjusted the following lines should be enabled.
# - "3.5"
# - "3.6"
# - "3.7-dev"
notifications:
email:
- rfkelly@mozilla.com
irc:
channels:
- "irc.mozilla.org#services-dev"
use_notice: false
skip_join: false
install:
- pip install virtualenv
- make build
script:
- make test
Loading…
Cancel
Save