Skip to content

Commit f546dd3

Browse files
committed
AppVeyor setup
1 parent 2dc5511 commit f546dd3

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.appveyor.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
environment:
2+
matrix:
3+
- PYTHON: "C:\\Python27"
4+
- PYTHON: "C:\\Python35"
5+
- PYTHON: "C:\\Python36"
6+
- PYTHON: "C:\\Python27-x64"
7+
- PYTHON: "C:\\Python35-x64"
8+
- PYTHON: "C:\\Python36-x64"
9+
10+
install:
11+
- "%PYTHON%\\python.exe -m pip install wheel"
12+
13+
build: off
14+
15+
before_test:
16+
- "%PYTHON%\\python.exe setup.py bdist_wheel"
17+
- "cd dist"
18+
- "%PYTHON%\\python.exe -m pip install --find-links=. atari-py"
19+
- "%PYTHON%\\python.exe -m pip install gym"
20+
21+
test_script:
22+
- "%PYTHON%\\python.exe -c \"import gym; env = gym.make('Enduro-v0'); env.reset(); [env.step(env.action_space.sample()) for i in range(1000)]\""
23+
24+
artifacts:
25+
- path: dist\*.whl
26+
name: Releases
27+
28+
deploy:
29+
provider: GitHub
30+
auth_token:
31+
secure: "Weh3LepGE4k174U43zSHYAiM1pUCUSlQ+wjwpmUI2X3SsZqTpdRKzDUwkLnHjp23"
32+
artifact: /.*\.whl/
33+
draft: false
34+
prerelease: false
35+
on:
36+
appveyor_repo_tag: true

0 commit comments

Comments
 (0)