Skip to content

Commit

Permalink
Merge pull request #25 from Kautenja/CI-deployment
Browse files Browse the repository at this point in the history
Ci deployment
  • Loading branch information
Kautenja authored Jul 21, 2018
2 parents 4e71d36 + 356eb52 commit 989fe69
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 10 deletions.
21 changes: 14 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
sudo: required
language: python
python:
- '2.7'
- '3.5'
- '3.6'
- '2.7'
- '3.5'
- '3.6'
os: linux
before_install:
- pip install scons
script:
- scons
- python -m unittest discover .
- scons
- python -m unittest discover .
- python setup.py sdist bdist_wheel --universal
deploy:
provider: pypi
user: kautenja
password:
secure: JuAkvsnwM1wJ1x+ikNqUitx0Ut6DI1l3MTrSAGShwmqj7jMAQL9T8GCe84ZadUv8CVC1Fzfa8lFMm1zQfTOLbofOyM3+/xMylsqQ1OmJwdRhZwv6lGT1JxDrdZBIMTBTmkx1Zl1HxvrF6Ln328KDO9knJk3zmciIUJdaRTGZT3CGB9gZH8CReobR1pnLvTp1jRjr2L15Rh5KyS5jgQyq2M3p+bB7SxHL/xOYuK/DfEhRY/be48vx0zmNKnbOi/TsYpTFexLKFPa2Vi4eK3rckWBQkQZeQkjyJcz65JmafqTV7VTP2sHe/0/wcU8BTPfXdnlYqJsWBA+UQsWfQk6v+QmeC8gPPZJjLl1YFJQ72D1fDzW5Jg5EESGLzVvACSSngrnliZdOBetovQAM9eB8EPJoePU/L/QD5Ool7hK4OegbAAmKQ0CzRAB2LWlc1j11cT+n/6+Z1xJS0QeM0hvktNmqRawFEPsMiULRyiIS1cVyu3qW5rmsjPRs3wzZi//SZGB89dsDmtrveCl57QDicdlHYa0dCVfuL+ui1KPSlOBGtLSDu+Rguld6DOI0YeK0CrwBxMAK9Z49cozeyaXfyrP8ZPX3QVY8mZuhqW26PFyNc+d2OcsN/Ywokb2RtldCCxfGJUeGIORMh9lGB6aEQ8HQh10IV6UxzPnTREoLLbU=
distributions: "sdist bdist_wheel"
on:
tags: true
notifications:
email: false
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ numpy>=1.12.1
opencv-python>=3.4.0.12
pygame>=1.9.3
pyglet>=1.3.2
setuptools>=39.0.1
tqdm>=4.19.5
twine>=1.11.0
scons>=3.0.1
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def README():
# headers with sdist
hpp = ['nes_py/laines/include']
# Additional build arguments to pass to the compiler
compile_args = ['-O3', '-march=native', '-std=c++14']
compile_args = ['-O3', '-march=native', '-std=c++1y']
# The official extension using the name, source, headers, and build args
lib_nes_env = Extension(lib_name,
sources=cpp,
Expand All @@ -32,7 +32,7 @@ def README():

setup(
name='nes_py',
version='0.8.2',
version='0.8.3',
description='An NES Emulator and OpenAI Gym interface',
long_description=README(),
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 989fe69

Please sign in to comment.