forked from openai/atari-py
-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy path.appveyor.yml
42 lines (35 loc) · 1.23 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
image: Visual Studio 2019
environment:
matrix:
- { PYTHON: "C:\\Python27", APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015" }
- { PYTHON: "C:\\Python35", APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015" }
- PYTHON: "C:\\Python36"
- PYTHON: "C:\\Python37"
- PYTHON: "C:\\Python38"
- { PYTHON: "C:\\Python27-x64", APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015" }
- { PYTHON: "C:\\Python35-x64", APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2015" }
- PYTHON: "C:\\Python36-x64"
- PYTHON: "C:\\Python37-x64"
- PYTHON: "C:\\Python38-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