Skip to content

Commit

Permalink
Merge pull request #667 from opencobra/fix-appveyor
Browse files Browse the repository at this point in the history
chore: use only x64 and conda
  • Loading branch information
Midnighter committed Jun 24, 2019
2 parents 95414ce + 8e2b4c0 commit d81f42f
Showing 1 changed file with 20 additions and 23 deletions.
43 changes: 20 additions & 23 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,42 +4,39 @@ branches:
- develop
- /^[0-9]+\.[0-9]+\.[0-9]+[.0-9ab]*$/

environment:
init:
- git config --global user.email "cobrapy-bot@opencobra.com"
- git config --global user.name "cobrapy-bot"
- git config --global core.autocrlf true
- git config --global core.filemode false

clone_depth: 2

environment:
global:
PIP_CACHE_DIR: "pip_cache"
PIP_DISABLE_PIP_VERSION_CHECK: "yes"

matrix:
# Python 3.6, 64-bit
- TOXENV: "py36"
TOX_APPVEYOR_X64: 1

# Python 3.6, 32-bit
- TOXENV: "py36"
TOX_APPVEYOR_X64: 0
- CONDA_ROOT: "C:\\Miniconda36-x64"
TOXENV: "py36"
- CONDA_ROOT: "C:\\Miniconda37-x64"
TOXENV: "py37"

matrix:
fast_finish: true

clone_depth: 2

init:
- git config --global user.email "cobrapy-bot@opencobra.com"
- git config --global user.name "cobrapy-bot"
- git config --global core.autocrlf true
- git config --global core.filemode false
- "ECHO %PYTHON%"
- "set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- python -V

cache:
- pip_cache -> appveyor.yml

install:
- "py -3.6 -m pip install pip setuptools wheel tox tox-appveyor"
platform: x64

build: off

install:
- set "PATH=%CONDA_ROOT%;%CONDA_ROOT%\\Scripts;%CONDA_ROOT%\\Library\\bin;%PATH%"
- conda info
- python.exe --version
- python.exe -m pip install --upgrade pip setuptools wheel tox

test_script:
- "py -3.6 -m tox"
- tox

0 comments on commit d81f42f

Please sign in to comment.