Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Commit

Permalink
Merge pull request #80 from newlawrence/numpy_tests
Browse files Browse the repository at this point in the history
Fixes for CI tests.
  • Loading branch information
astrojuanlu committed Dec 7, 2015
2 parents e1bd2c5 + 08a7f37 commit 1fdd95d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 20 deletions.
34 changes: 18 additions & 16 deletions .binstar.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
package: poliastro
platform: linux-64
engine:
- python=2.7
- python=3.3
- python=3.4
env:
- NUMPY=1.9
- NUMPY=1.10
install:
- conda config --set always_yes true
- conda config --set always_yes yes --set changeps1 no
- conda config --add channels poliastro
script:
# Force conda build to use specific versions of Python and Numpy
- export CONDA_PY=$(python -c "from __future__ import print_function;from sys import version_info as ver;print(str(ver.major) + str(ver.minor))")
- export CONDA_NPY=$(python -c "from __future__ import print_function;import numpy;npver=numpy.__version__;print(npver[:npver.rfind('.')].replace('.',''))")
# Build once the env variables are set
- conda build buildscripts/condarecipe
build_targets:
- conda
platform:
- linux-64
engine:
- python=2.7 numpy=1.9
- python=3.3 numpy=1.9
- python=3.4 numpy=1.9
- python=2.7 numpy=1.10
- python=3.4 numpy=1.10
- conda install numpy=$NUMPY numba>=0.18 astropy>=1.0 matplotlib pytest pip requests pyyaml scipy jplephem
- pip install -e .
- py.test poliastro -vv
---
package: poliastro
platform: linux-64
engine: python=3.3
env: NUMPY=1.10
exclude: true
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,18 @@ env:
branches:
only:
- master
- 0.3.x

install:
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda config --set always_yes yes --set changeps1 no
- conda config --add channels poliastro
- conda update -q conda
- conda create -q -n test-environment python=$PYTHON
- source activate test-environment
- conda install numpy=$NUMPY numba>=0.18 astropy>=1.0 matplotlib pytest pip coverage requests pyyaml scipy
- conda install jplephem -c poliastro
- conda install numpy=$NUMPY numba>=0.18 astropy>=1.0 matplotlib pytest pip coverage requests pyyaml scipy jplephem
- pip install coveralls pytest-cov
- pip install -e . # Needed to use py.test properly

Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ install:

# Install the build and runtime dependencies of the project.
- "conda config --set always_yes yes --set changeps1 no"
- "conda config --add channels poliastro"
- "conda update -q conda"
- "conda info -a"
- "conda create -q -n test-environment python=%PYTHON%"
Expand All @@ -42,8 +43,7 @@ install:
- "python --version"

# Install dependencies
- "conda install -q numpy=%NUMPY% numba>=0.18 astropy>=1.0 matplotlib pytest scipy"
- "conda install jplephem -c poliastro"
- "conda install -q numpy=%NUMPY% numba>=0.18 astropy>=1.0 matplotlib pytest scipy jplephem"
- "pip install -e ." # Needed to use py.test properly

build: off
Expand Down

0 comments on commit 1fdd95d

Please sign in to comment.