Skip to content

Commit

Permalink
Relocate before_build section and add refreshenv command after chocol…
Browse files Browse the repository at this point in the history
…ately installations
  • Loading branch information
ryansm1 committed Oct 9, 2018
1 parent ad0c765 commit aad7122
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions appveyor.yml
Expand Up @@ -15,12 +15,6 @@ init:
- mkdir %DEPS%
- set APPVEYOR=true

before_build:
- choco install rabbitmq --ignoredependencies -y
- choco install redis-64
- redis-server --service-install
- redis-server --service-start

install:
# Download and start a binary version of memcached.
- ps: Invoke-WebRequest "https://s3.amazonaws.com/downloads.northscale.com/memcached-win64-1.4.4-14.zip" -OutFile "$ENV:DEPS\memcached.zip"
Expand Down Expand Up @@ -51,6 +45,13 @@ install:
- cd %PROJ%
- "%CMD_IN_ENV% pip install -e .[dev]"

before_build:
- choco install rabbitmq --ignoredependencies -y
- choco install redis-64
- redis-server --service-install
- redis-server --service-start
- refreshenv

build_script:
- "%CMD_IN_ENV% python setup.py build"

Expand Down

0 comments on commit aad7122

Please sign in to comment.