Use CI Python Docker image to speed up build times

This commit is contained in:
Thomas Kooi 2018-02-06 19:41:34 +01:00
parent f0a2b68f3d
commit 0ab8c1dde8

View File

@ -2,7 +2,7 @@ version: 2
jobs: jobs:
build: build:
docker: docker:
- image: python:3-alpine - image: thojkooi/ci-python
steps: steps:
- checkout - checkout
- run: - run:
@ -10,7 +10,7 @@ jobs:
command: python tools/sqf_validator.py && python tools/config_style_checker.py command: python tools/sqf_validator.py && python tools/config_style_checker.py
deployment: deployment:
docker: docker:
- image: python:3-alpine - image: thojkooi/ci-python
branch: master branch: master
requires: requires:
- build - build
@ -19,5 +19,4 @@ jobs:
- deploy: - deploy:
name: Deploy name: Deploy
command: | command: |
pip install pygithub pygithub3
python3 tools/deploy.py python3 tools/deploy.py