Skip to content

Commit

Permalink
BLD: Upload anaconda packages from appveyor
Browse files Browse the repository at this point in the history
Updated travis anaconda token
  • Loading branch information
richafrank committed Mar 23, 2016
1 parent 2ee66e4 commit dab85a8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ python:
- 3.4
env:
global:
# ANACONDA_TOKEN
- secure: "HlTfqMSkU4yFTGSHvCg1FJ5gQaHA7SVWtH/h9uHHNArowBNqF0c9nJQcPNydi1szzGE+29ZiUwbj1AMI3CgpevZuowrxwMNlsEXol7uSxMJGczFEfauREEKfX0rEOzHcIRxlN6tC8AEBXnxBNesLbw9XadB+lJ/y7Fkfl28n5oU="
# ANACONDA_TOKEN with api:write
- secure: "RJJjjQloUjCSkhII93QM+YAsr6YYq7hPFvlbnT07ogn1NeUPsVCyJ97oiZfKtPgdbd24hdQP/CHfB0HgTTES8n996tN3QWc4hZj0e10kFyIlas9qnkrRYRR1jxGShBDXrLdx/tGh8z1qnnCm1fy+fDhAF7Zerouwy4EA2YEzxdE="
matrix:
- PANDAS_VERSION=0.16.1 NUMPY_VERSION=1.9.2 SCIPY_VERSION=0.15.1
- PANDAS_VERSION=0.17.1 NUMPY_VERSION=1.10.4 SCIPY_VERSION=0.16.1
Expand Down
22 changes: 17 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ environment:
# See: http://stackoverflow.com/a/13751649/163740
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\ci\\appveyor\\run_with_env.cmd"

# with api:write
ANACONDA_TOKEN:
secure: "u3oPlANiKY5g1yMtcK+2MQfb4ViKGEap3TcBtvS7Y1InyeWs80Ko3/PsP7Lp6qwq"

matrix:
- PYTHON_VERSION: "2.7"
PYTHON_ARCH: "64"
Expand Down Expand Up @@ -102,11 +106,19 @@ install:
# https://blog.ionelmc.ro/2014/12/21/compiling-python-extensions-on-windows/ for 64bit C compilation
- ps: copy .\ci\appveyor\vcvars64.bat "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64"

- cmd: '%CMD_IN_ENV% conda build conda/bcolz --python=%CONDA_PY% --numpy=%CONDA_NPY% --skip-existing -c quantopian'
- cmd: '%CMD_IN_ENV% conda build conda/cyordereddict --python=%CONDA_PY% --numpy=%CONDA_NPY% --skip-existing -c quantopian'
- cmd: '%CMD_IN_ENV% conda build conda/logbook --python=%CONDA_PY% --numpy=%CONDA_NPY% --skip-existing -c quantopian'
- cmd: '%CMD_IN_ENV% conda build conda/numexpr --python=%CONDA_PY% --numpy=%CONDA_NPY% --skip-existing -c quantopian'
- cmd: '%CMD_IN_ENV% conda build conda/ta-lib --python=%CONDA_PY% --numpy=%CONDA_NPY% --skip-existing -c quantopian'
- cmd: |
FOR /D %%r IN (conda/*) DO (
IF NOT "%%r" == "zipline" (
%CMD_IN_ENV% conda build "conda/%%r" --python=%CONDA_PY% --numpy=%CONDA_NPY% --skip-existing -c quantopian
FOR /f "tokens=* USEBACKQ" %%F IN (`%CMD_IN_ENV% conda build "conda/%%r" --python=%CONDA_PY% --numpy=%CONDA_NPY% --output`) DO (
SET RECIPE_OUTPUT=%%F
)
IF EXIST "%RECIPE_OUTPUT%" (
%CMD_IN_ENV% anaconda -t %ANACONDA_TOKEN% upload "%RECIPE_OUTPUT%" -u quantopian --label ci
)
)
)
- cmd: '%CMD_IN_ENV% conda build conda/zipline --python=%CONDA_PY% --numpy=%CONDA_NPY% -c quantopian'

- cmd: conda create -n testenv --yes --use-local pip python=%PYTHON_VERSION% numpy=%NUMPY_VERSION% scipy=%SCIPY_VERSION% ta-lib=0.4.9 bcolz=0.12.1 numexpr=2.4.6
Expand Down

0 comments on commit dab85a8

Please sign in to comment.