Skip to content

Commit

Permalink
Merge pull request #16 from sonelu/CI-changes
Browse files Browse the repository at this point in the history
CI changes
  • Loading branch information
sonelu authored May 8, 2020
2 parents ec4f638 + dd22b1c commit 2ef5c42
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 47 deletions.
58 changes: 13 additions & 45 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: generic

language: python
os: linux
env:
global:
- SETUP_DIR=$TRAVIS_BUILD_DIR/.
Expand All @@ -11,85 +11,53 @@ before_install:
- pip install coverage
- pip install codecov
- pip install pytest

install:
- pip install .[all]

jobs:
fast_finish: true
include:

- stage: AMD64
python: 3.6
os: linux
dist: xenial
language: python
after_success:
- bash <(curl -s https://codecov.io/bash)

- python: 3.6
os: linux
dist: bionic
language: python
if: branch = master

- python: 3.7
os: linux
dist: xenial
language: python
if: branch = master

- python: 3.7
os: linux
dist: bionic
language: python
if: branch = master

- stage: ARM64
python: 3.6
os: linux
arch: arm64
dist: xenial
language: python
if: branch = master

- python: 3.6
os: linux
arch: arm64
dist: bionic
language: python
if: branch = master

- python: 3.7
os: linux
arch: arm64
dist: xenial
language: python
if: branch = master

- python: 3.7
os: linux
arch: arm64
dist: bionic
language: python
if: branch = master

- stage: Deploy
before_install: skip
install:
- pip install .[all] --user
script: skip
deploy:
skip_cleanup: true
provider: pypi
user: __token__
password:
secure: lWsCeSxHrsWBIip86Y/ZRpKQ1nXwIR+qSgky2njs+dxIhioTu4BC/gwVuHCfq77m4tJWhh5mHl0mbRd+fqj3T6L8QDuDE12sN4OOWPWzxnGqST6q9i/5e7EnwTEa62Ux4iPd6pv+kDt0rdUKDpB7De3PaJ2oVsHEnYBj6zdaTAqdDWD46ZQZAfdSpAQH7hgMhRsD8PO7ah8tIoKpjrdveqmf8S2txph90fExx81yCP8JPjFXBvPuge9wubY+Vg7Zf+uF1ARfftwopW7jKjD5jmJPE2q13A2dzGUSeyK0ht+FkB22EgLnBUDSBLxM+jEEb6XGmtLDon35iMQgxe7cEK8dtCz3kfHvfClf8givf3Qc8QzKHX+Vdczmo5iykXxfMpAmmbpV5DhM4yi5VZB6ZSQsHRpi6NsTykGqLoPPfCzEBunlmGuyfQM8J/7MO8O12HMsFqUO6RRlmu06AQAULYnyly3jYgif+tksiUNqaMdssVs26RRkeGkMK/oCgQTzjlxKqSCk2TOb0dcnWKX54GlorTM2moduRJ82labpfxNNam3yYPpQmOA4jjTW1/fq/fdWCBxfigXGelYe041xkA9QMWrJrKZSMvnxbm/13lzf+Z8L2yo62tXkdKTpiA39k3eWsr63T3ViR9bE1jYE423yhU4/lk7NQKQUUMV5Ulc=
on:
tags: true
condition: $TRAVIS_TAG =~ ^v[0-9]*
distributions: "sdist bdist_wheel"

- stage: PyPi
python: 3.6
dist: xenial
if: tag IS present
before_install:
- pip install twine
- pip install --upgrade setuptools wheel
script:
- python setup.py install
- python -m twine upload dist/*.egg -u "${PYPI_USERNAME}" -p "${PYPI_PASSWORD}"

script:
- coverage run -m pytest -v tests.py
- coverage xml
Expand Down
2 changes: 1 addition & 1 deletion roboglia/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.7'
__version__ = '0.0.8'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def version():
author='Alex Sonea',
author_email='[email protected]',
description='Robotics Framework unsing Dynamixel SDK, I2C, SPI',
long_description=open('README.md').read(),
long_description=open('README.md', encoding='utf-8').read(),
url='https://github.com/sonelu/roboglia',
license='GNU GENERAL PUBLIC LICENSE Version 3',
classifiers=[
Expand Down

0 comments on commit 2ef5c42

Please sign in to comment.