Skip to content

Commit 6c9cc09

Browse files
committed
Add Travis job for numpy-dev that is allowed to fail
1 parent 321a41c commit 6c9cc09

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.continuous-integration/travis/setup_dependencies_common.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,12 @@ then
1818
fi
1919

2020
# NUMPY
21-
conda install --yes numpy=$NUMPY_VERSION
21+
if [[ $NUMPY_VERSION == dev ]]
22+
then
23+
pip install git+http://github.com/numpy/numpy.git
24+
else
25+
conda install --yes numpy=$NUMPY_VERSION
26+
fi
2227

2328
# Now set up shortcut to conda install command to make sure the Python and Numpy
2429
# versions are always explicitly specified.

.travis.yml

+8
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,13 @@ env:
1919
- PYTHON_VERSION=3.4 SETUP_CMD='egg_info'
2020

2121
matrix:
22+
2223
include:
2324

25+
# Try developer version of Numpy
26+
- os: linux
27+
env: NUMPY_VERSION=dev SETUP_CMD='test'
28+
2429
# Try MacOS X
2530
- os: osx
2631
env: PYTHON_VERSION=2.7 SETUP_CMD='test' OPTIONAL_DEPS=true
@@ -61,6 +66,9 @@ matrix:
6166
- os: linux
6267
env: PYTHON_VERSION=2.7 MAIN_CMD='pep8 astropy --count' SETUP_CMD=''
6368

69+
allow_failures:
70+
- env: NUMPY_VERSION=dev SETUP_CMD='test'
71+
6472
install:
6573
- source .continuous-integration/travis/setup_environment_$TRAVIS_OS_NAME.sh
6674

0 commit comments

Comments
 (0)