Skip to content

Commit 2ef5c42

Browse files
authored
Merge pull request #16 from sonelu/CI-changes
CI changes
2 parents ec4f638 + dd22b1c commit 2ef5c42

File tree

3 files changed

+15
-47
lines changed

3 files changed

+15
-47
lines changed

.travis.yml

+13-45
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
language: generic
2-
1+
language: python
2+
os: linux
33
env:
44
global:
55
- SETUP_DIR=$TRAVIS_BUILD_DIR/.
@@ -11,85 +11,53 @@ before_install:
1111
- pip install coverage
1212
- pip install codecov
1313
- pip install pytest
14-
1514
install:
1615
- pip install .[all]
17-
1816
jobs:
1917
fast_finish: true
2018
include:
21-
2219
- stage: AMD64
2320
python: 3.6
24-
os: linux
2521
dist: xenial
26-
language: python
2722
after_success:
2823
- bash <(curl -s https://codecov.io/bash)
29-
3024
- python: 3.6
31-
os: linux
3225
dist: bionic
33-
language: python
3426
if: branch = master
35-
3627
- python: 3.7
37-
os: linux
3828
dist: xenial
39-
language: python
4029
if: branch = master
41-
4230
- python: 3.7
43-
os: linux
4431
dist: bionic
45-
language: python
4632
if: branch = master
47-
4833
- stage: ARM64
4934
python: 3.6
50-
os: linux
5135
arch: arm64
5236
dist: xenial
53-
language: python
5437
if: branch = master
55-
5638
- python: 3.6
57-
os: linux
5839
arch: arm64
5940
dist: bionic
60-
language: python
6141
if: branch = master
62-
6342
- python: 3.7
64-
os: linux
6543
arch: arm64
6644
dist: xenial
67-
language: python
6845
if: branch = master
69-
7046
- python: 3.7
71-
os: linux
7247
arch: arm64
7348
dist: bionic
74-
language: python
7549
if: branch = master
76-
77-
- stage: Deploy
78-
before_install: skip
79-
install:
80-
- pip install .[all] --user
81-
script: skip
82-
deploy:
83-
skip_cleanup: true
84-
provider: pypi
85-
user: __token__
86-
password:
87-
secure: lWsCeSxHrsWBIip86Y/ZRpKQ1nXwIR+qSgky2njs+dxIhioTu4BC/gwVuHCfq77m4tJWhh5mHl0mbRd+fqj3T6L8QDuDE12sN4OOWPWzxnGqST6q9i/5e7EnwTEa62Ux4iPd6pv+kDt0rdUKDpB7De3PaJ2oVsHEnYBj6zdaTAqdDWD46ZQZAfdSpAQH7hgMhRsD8PO7ah8tIoKpjrdveqmf8S2txph90fExx81yCP8JPjFXBvPuge9wubY+Vg7Zf+uF1ARfftwopW7jKjD5jmJPE2q13A2dzGUSeyK0ht+FkB22EgLnBUDSBLxM+jEEb6XGmtLDon35iMQgxe7cEK8dtCz3kfHvfClf8givf3Qc8QzKHX+Vdczmo5iykXxfMpAmmbpV5DhM4yi5VZB6ZSQsHRpi6NsTykGqLoPPfCzEBunlmGuyfQM8J/7MO8O12HMsFqUO6RRlmu06AQAULYnyly3jYgif+tksiUNqaMdssVs26RRkeGkMK/oCgQTzjlxKqSCk2TOb0dcnWKX54GlorTM2moduRJ82labpfxNNam3yYPpQmOA4jjTW1/fq/fdWCBxfigXGelYe041xkA9QMWrJrKZSMvnxbm/13lzf+Z8L2yo62tXkdKTpiA39k3eWsr63T3ViR9bE1jYE423yhU4/lk7NQKQUUMV5Ulc=
88-
on:
89-
tags: true
90-
condition: $TRAVIS_TAG =~ ^v[0-9]*
91-
distributions: "sdist bdist_wheel"
92-
50+
- stage: PyPi
51+
python: 3.6
52+
dist: xenial
53+
if: tag IS present
54+
before_install:
55+
- pip install twine
56+
- pip install --upgrade setuptools wheel
57+
script:
58+
- python setup.py install
59+
- python -m twine upload dist/*.egg -u "${PYPI_USERNAME}" -p "${PYPI_PASSWORD}"
60+
9361
script:
9462
- coverage run -m pytest -v tests.py
9563
- coverage xml

roboglia/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.0.7'
1+
__version__ = '0.0.8'

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def version():
6969
author='Alex Sonea',
7070
author_email='alex.sonea@gmail.com',
7171
description='Robotics Framework unsing Dynamixel SDK, I2C, SPI',
72-
long_description=open('README.md').read(),
72+
long_description=open('README.md', encoding='utf-8').read(),
7373
url='https://github.com/sonelu/roboglia',
7474
license='GNU GENERAL PUBLIC LICENSE Version 3',
7575
classifiers=[

0 commit comments

Comments
 (0)