From 54b5f17d65d9fad560ab900c9110c6406131aebb Mon Sep 17 00:00:00 2001 From: dtracers Date: Fri, 25 Oct 2019 11:24:08 -0600 Subject: [PATCH] Added appveyor.yml (#204) * Added appveyor.yml * remove x86 * change how envs are made * is it using the wrong python? * force python versions? * setup python correctly maybe? * use correct python now that path is et * fix build false * add badge remove 3.6 only going to test 3.7 for windows #speed * point this at correct branch * add appveyor badge * change to using correct build project for status * added webhook maybe? * changed build number info yo --- README.md | 2 ++ appveyor.yml | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 appveyor.yml diff --git a/README.md b/README.md index bd21f882..e93bf376 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ [![Build Status](https://travis-ci.org/SaltieRL/carball.svg?branch=master)](https://travis-ci.org/SaltieRL/carball) [![PyPI version](https://badge.fury.io/py/carball.svg)](https://badge.fury.io/py/carball) +[![codecov](https://codecov.io/gh/SaltieRL/carball/branch/master/graph/badge.svg)](https://codecov.io/gh/SaltieRL/carball) +[![Build status](https://ci.appveyor.com/api/projects/status/jxsa56l11fxv4jn4/branch/master?svg=true)](https://ci.appveyor.com/project/SaltieRL/carball/branch/master) # carball Various tools for decompiling / analyzing Rocket League replays. diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 00000000..5b508ccc --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,42 @@ + +version: 0.6.{build} +pull_requests: + do_not_increment_build_number: true + +skip_tags: true + +# Do not build feature branch with open Pull Requests +skip_branch_with_pr: true + + +environment: + PYTHON_ARCH: "64" + + matrix: + - PYTHON: "C:\\Python37-x64" + PYTHON_VERSION: "3.7.4" + +install: + # Prepend newly installed Python to the PATH of this build (this cannot be + # done from inside the powershell script as it would require to restart + # the parent CMD process). + - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" + - "SET PYTHONPATH=%PYTHON%\\Lib\\site-packages;%PYTHONPATH%" + - python --version + + - python -m pip install --upgrade pip + - pip install -r requirements.txt + - pip install -r requirements-test.txt + - python init.py + +build: false + +test_script: + - pytest --cov=./ --ignore=protobuf-2.6.1/ + + +notifications: + - provider: GitHubPullRequest + on_build_success: true + on_build_failure: true + on_build_status_changed: false