Skip to content

Commit

Permalink
AppVeyor setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Kojoley committed Dec 2, 2018
1 parent 2dc5511 commit f546dd3
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
environment:
matrix:
- PYTHON: "C:\\Python27"
- PYTHON: "C:\\Python35"
- PYTHON: "C:\\Python36"
- PYTHON: "C:\\Python27-x64"
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36-x64"

install:
- "%PYTHON%\\python.exe -m pip install wheel"

build: off

before_test:
- "%PYTHON%\\python.exe setup.py bdist_wheel"
- "cd dist"
- "%PYTHON%\\python.exe -m pip install --find-links=. atari-py"
- "%PYTHON%\\python.exe -m pip install gym"

test_script:
- "%PYTHON%\\python.exe -c \"import gym; env = gym.make('Enduro-v0'); env.reset(); [env.step(env.action_space.sample()) for i in range(1000)]\""

artifacts:
- path: dist\*.whl
name: Releases

deploy:
provider: GitHub
auth_token:
secure: "Weh3LepGE4k174U43zSHYAiM1pUCUSlQ+wjwpmUI2X3SsZqTpdRKzDUwkLnHjp23"
artifact: /.*\.whl/
draft: false
prerelease: false
on:
appveyor_repo_tag: true

0 comments on commit f546dd3

Please sign in to comment.