Skip to content

Commit

Permalink
Use a token to do the pypi releases
Browse files Browse the repository at this point in the history
  • Loading branch information
PCManticore committed Sep 24, 2019
1 parent d8ed3f1 commit ff97852
Showing 1 changed file with 41 additions and 43 deletions.
84 changes: 41 additions & 43 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,63 +1,61 @@
language: python

stages:
- prechecks
- tests

- prechecks
- tests
jobs:
include:
- stage: prechecks
python: 3.6
env: TOXENV=pylint
- python: 3.6
env: TOXENV=formatting
- python: 3.5
env: TOXENV=py35
- python: pypy3.5
env: TOXENV=pypy
- python: 3.6
env: TOXENV=py36
- python: 3.7
env: TOXENV=py37
dist: xenial
sudo: true
- python: 3.8-dev
env: TOXENV=py38
dist: xenial
sudo: true

- stage: prechecks
python: 3.6
env: TOXENV=pylint
- python: 3.6
env: TOXENV=formatting
- python: 3.5
env: TOXENV=py35
- python: pypy3.5
env: TOXENV=pypy
- python: 3.6
env: TOXENV=py36
- python: 3.7
env: TOXENV=py37
dist: xenial
sudo: true
- python: 3.8-dev
env: TOXENV=py38
dist: xenial
sudo: true
before_install:
- python --version
- uname -a
- lsb_release -a
- python --version
- uname -a
- lsb_release -a
install:
- python -m pip install pip -U
- python -m pip install tox coverage coveralls
- python -m virtualenv --version
- python -m easy_install --version
- python -m pip --version
- python -m tox --version
- python -m pip install pip -U
- python -m pip install tox coverage coveralls
- python -m virtualenv --version
- python -m easy_install --version
- python -m pip --version
- python -m tox --version
script:
# Test install with current version of setuptools
- python -m pip install .
# Run the tests with newest version of setuptools
- python -m pip install -U setuptools
- python -m tox -e coverage-erase,$TOXENV
- python -m pip install .
- python -m pip install -U setuptools
- python -m tox -e coverage-erase,$TOXENV
after_success:
- tox -e coveralls
- tox -e coveralls
after_failure:
- more .tox/log/* | cat
- more .tox/*/log/* | cat
- more .tox/log/* | cat
- more .tox/*/log/* | cat
notifications:
email:
on_success: always
on_failure: always
deploy:
provider: pypi
user: Claudiu.Popa
user: __token__
password:
secure: "YQ8Elo1/1Ep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9SWKETQ7gn55B4MFcANhrjj8HAUcmA+N0WJEVhSdUqsmYKTF1p8YkjYfAzvX+pMkNiIkXThwJiFexv+QH7SlgmvmiKGPtrwDGNJMzFa7VLJh3brkfzfkc2tHkzZ4KqXzOLs4qwIkK4JSRP2UKrGsWaggNCqwle97LYv5vazwWWGL3Br7/5vBA6fjDQxJnFNQIQp+OGpSMHmPfltMGaqx62RePshnDoSgoSF1vPRc0VSOAJauhIwaZdTBQ9GjKR17rSY4Kd1ftHuMUBFpDJyWL6CW9jwTFXVWoJ7g6+9RU=
on:
tags: true
condition: "$TOXENV = py36"
distributions: sdist bdist_wheel
env:
global:
secure: E3x+HWG+D66+lJUyBFJQNlMSMNAu1ptdIuxszdN4Zi5M7Ek5vBi0MpKibfYFpaLFpgkxYRtwCL0dupspOL3FOhBHgNx3CV+rOfPqQY4pRKpN+ZPRyANCjmiHkrDHEVmNwtzZs6rm0riacJiGUmnvJH74yZf37s8NxKkq41WfaiO1ULfP0UDikyzE7GMBqllWTb0RCpRyxm8pXbcT6sWNRJmq+raycUBx+2OxkX6WQ277tLPc2ZjlptRV1NzXTVqsnpw7lINSz+j7PPLY5vaeCJoKamyNojDdCrMWx8uXfi6KwtB3g9oxgiE/M1wMFEntRlCy0Xg9CJA5vXi4TGM47WVQOvy7KN55MMobCVe9vJiodIjhWXqyXKXmEKDuJsgo2TnHRO/ddgCTgJ196ZRjCavePSwR9qvIEEuykDMtZtSt/JNF2wN/K0yeeWcp5iOdTVW+8EdYTrJ/pG5koStnh7AmNb8e8Yak1QrIyiDJ3LNNRf9dXYjGQ52yziCDWNioLzwrXudjCifi03QlQT3yucoBhZKhgMN7SMRzvkWEvJTyzor4F811+Mu1fHd9TfqkjGu31n7sG+FcgoNUDX7GqL/fculvmJbWp8JthQzV5TxQpg7Qv6Esy++jphxmjbnJmqJbk6ntyMJfyuVXS0n499Wu5vg3wj1nuPNsj0Tzd4Y=

0 comments on commit ff97852

Please sign in to comment.