blob: 5c9691b5db7ce93b2adcdad25f619fde5847eb32 [file] [log] [blame]
language: python
jobs:
include:
- stage: test
python: 2.7
env: TOXENV=py27
name: "Python 2.7"
- python: 3.4
env: TOXENV=py34
name: "Python 3.4"
- python: 3.5
env: TOXENV=py35
name: "Python 3.5"
- python: 3.6
env: TOXENV=py36
name: "Python 3.6"
- stage: deploy
python: 3.6
name: "Upload dev version to PyPi"
script: ./.push-to-pypi.sh
stages:
- test
- name: deploy
if: branch = master
install:
- git fetch --tags
- cd programmer
- pip install --upgrade pip
- pip install --upgrade tox
- pip install --upgrade setuptools
- pip install --upgrade setuptools_scm
- pip install --upgrade wheel
- pip install --upgrade twine
script:
- tox
notifications:
email: false
git:
depth: false