Skip to content

Commit

Permalink
MAINT/CI simplify CIs (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
glemaitre committed Dec 17, 2017
1 parent eac7a59 commit ac0ce22
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 268 deletions.
46 changes: 10 additions & 36 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
build: false

environment:
# There is no need to run the build for all the Python version /
# architectures combo as the generated nilearn wheel is the same on all
Expand All @@ -9,52 +11,24 @@ environment:
PYTHON_VERSION: "2.7.x"
PYTHON_ARCH: "64"

- PYTHON: "C:\\Miniconda"
PYTHON_VERSION: "2.7.x"
PYTHON_ARCH: "32"

- PYTHON: "C:\\Miniconda35-x64"
- PYTHON: "C:\\Miniconda3-x64"
PYTHON_VERSION: "3.5.x"
PYTHON_ARCH: "64"

- PYTHON: "C:\\Miniconda36-x64"
- PYTHON: "C:\\Miniconda3-x64"
PYTHON_VERSION: "3.6.x"
PYTHON_ARCH: "64"

- PYTHON: "C:\\Miniconda36"
PYTHON_VERSION: "3.6.x"
PYTHON_ARCH: "32"

install:
# Prepend miniconda installed Python to the PATH of this build
# Add Library/bin directory to fix issue
# https://github.com/conda/conda/issues/1753
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PYTHON%\\Library\\bin;%PATH%"

# Check that we have the expected version and architecture for Python
- "python --version"
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""

# Installed prebuilt dependencies from conda
- "conda install pip numpy scipy six joblib pandas nose wheel matplotlib -y -q"

# Install other nilearn dependencies
- "pip install fitparse coverage nose-timer pytest pytest-cov"
- "python setup.py bdist_wheel"
- ps: "ls dist"

# Install the generated wheel package to test it
- "pip install --pre --no-index --find-links dist/ scikit-cycling"

# Not a .NET project, we build in the install step instead
build: false
- conda install pip numpy scipy six joblib pytest pytest-cov -y -q
- pip install fitparse
- pip install .

test_script:
- powershell ./build_tools/appveyor/test.ps1

artifacts:
# Archive the generated packages in the ci.appveyor.com build report.
- path: dist\*

#on_success:
# - TODO: upload the content of dist/*.whl to a public wheelhouse
- mkdir for_test
- cd for_test
- pytest --pyargs skcycling --cov-report term-missing --cov=skcycling
13 changes: 0 additions & 13 deletions build_tools/appveyor/test.ps1

This file was deleted.

107 changes: 0 additions & 107 deletions build_tools/circle/build_doc.sh

This file was deleted.

31 changes: 0 additions & 31 deletions build_tools/circle/checkout_merge_commit.sh

This file was deleted.

36 changes: 0 additions & 36 deletions build_tools/circle/push_doc.sh

This file was deleted.

45 changes: 0 additions & 45 deletions circle.yml

This file was deleted.

0 comments on commit ac0ce22

Please sign in to comment.