2017-08-20 19:22:44 +03:00
|
|
|
dist: trusty
|
|
|
|
sudo: off
|
2016-02-23 00:15:12 +03:00
|
|
|
language: python
|
2017-08-20 19:22:44 +03:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libssl-dev
|
|
|
|
- libffi-dev
|
|
|
|
- python-dev
|
|
|
|
install: echo 'skip'
|
|
|
|
cache: pip
|
2017-08-28 21:21:49 +03:00
|
|
|
jobs:
|
|
|
|
include:
|
2017-11-22 22:14:51 +03:00
|
|
|
- stage: precheck
|
|
|
|
env: PURPOSE='PEP8'
|
|
|
|
script: ./scripts/ci/precheck_pep8.sh
|
|
|
|
python: 3.6
|
|
|
|
- stage: precheck
|
|
|
|
env: PURPOSE='Headers'
|
|
|
|
script: ./scripts/ci/precheck_header.sh
|
2017-09-15 02:52:25 +03:00
|
|
|
python: 3.6
|
2017-08-20 19:22:44 +03:00
|
|
|
- stage: verify
|
|
|
|
env: PURPOSE='Automation'
|
|
|
|
script: ./scripts/ci/test_automation.sh
|
|
|
|
python: 3.6
|
|
|
|
- stage: verify
|
|
|
|
env: PURPOSE='Automation'
|
|
|
|
script: ./scripts/ci/test_automation.sh
|
|
|
|
python: 2.7
|
|
|
|
- stage: verify
|
|
|
|
script: ./scripts/ci/test_static.sh
|
|
|
|
env: PURPOSE='Static Check'
|
|
|
|
python: 3.6
|
|
|
|
- stage: verify
|
|
|
|
script: ./scripts/ci/test_integration.sh
|
|
|
|
env: PURPOSE='Integration'
|
|
|
|
python: 3.6
|
|
|
|
- stage: verify
|
|
|
|
script: ./scripts/ci/test_integration.sh
|
|
|
|
env: PURPOSE='Integration'
|
|
|
|
python: 2.7
|
|
|
|
- stage: publish
|
|
|
|
script: ./scripts/ci/publish.sh
|
2017-09-15 02:52:25 +03:00
|
|
|
python: 3.6
|
2017-10-17 21:24:42 +03:00
|
|
|
if: branch = dev and type = push
|