Skip to content

Commit

Permalink
Use build stages
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Chédru committed Jul 26, 2018
1 parent 2309113 commit 0a62bbe
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
language: python
matrix:
include:
- python: "2.7"
- python: "3.5"
- python: "3.6"
- python: "3.7"
- name "Testing with python 2.7"
python: "2.7"
- name "Testing with python 3.4"
python: "3.4"
dist: trusty
- name "Testing with python 3.5"
python: "3.5"
- name "Testing with python 3.6"
python: "3.6"
- name "Testing with python 3.7"
python: "3.7"
dist: xenial
sudo: true
- python: "3.4"
dist: trusty
install:
- pip install -U pip setuptools wheel
- pip install -r requirements.txt
Expand All @@ -22,3 +27,8 @@ deploy:
secure: AeTh3w8QeXQ6StzHlIbQcYZnr1qRjkQ4lBV0zup1t43dXxoRaXbQ7x2ZwcYpbM2h/lWeWssU2G6iY5ZW4a2t0+4go3PMPLSo2AC/sNJyVeuxvefkXTlWsL2YkTitpB1hhEzBVLMczNgf2OpLrmJIS/3hh1p3smiyj2xt1Jf7TaQ3bGneVFmlFrbOQTz5caoqjTRkhDWEa38pnSpbNIlgHIwhuDpVfUZn+Gh/UXmWdgiE1srpI1YLEMjpiFTe39Y36XvaJ/xszd/a929YgOalTZws+8iCzvI+/vSKdf1G+Phc4iVRbqwHAc4lfzbl42Yy81IMBrCMia/uum/lgkxZtcMJzyBwDXA0Rxtp1Ayh27bwI02tdJ3VQ8X8zvDJjATQhL2dRA5jqjNTco3SugM5rGcOvuLyjgROI9hQV0PSOXydqA/5kfLir5Y0cEpn5xW/RRVW5xgG9Pl6SzpS5vyd4/FB02wnp4pSxJM3v8WOUvMgKK4XjmMKKE8+IrY+avLLrhg3y3ziHdtjrnsVjo+fX+pdxymy85cNDVVH+AfBhG+Hnf2svxA4HnKzN9QaTGLB7EjU8TYCa1eJ8djSbEF9MStw2+b3cUG65jvWjDt/sPwzmcsrAob4rcy5pIBQbbtAa48lqighjjpM8EkDepLJaduDYUIbf3K+dKNjsKBXAo4=
on:
tags: true

stages:
- test
- name: deploy
if: branch = master AND tag IS present

0 comments on commit 0a62bbe

Please sign in to comment.