Skip to content

Commit 1f49bbb

Browse files
committed
CI: Stop using Miniconda on Travis
1 parent 205ea17 commit 1f49bbb

File tree

1 file changed

+19
-16
lines changed

1 file changed

+19
-16
lines changed

.travis.yml

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,24 @@ python:
1010
- 3.6
1111

1212
env:
13-
- INSTALL_DEB_DEPENDECIES=true NIPYPE_EXTRAS="doc,tests,fmri,profiler" CI_SKIP_TEST=1
14-
- INSTALL_DEB_DEPENDECIES=false NIPYPE_EXTRAS="doc,tests,fmri,profiler" CI_SKIP_TEST=1
15-
- INSTALL_DEB_DEPENDECIES=true NIPYPE_EXTRAS="doc,tests,fmri,profiler,duecredit,ssh" CI_SKIP_TEST=1
16-
- INSTALL_DEB_DEPENDECIES=true NIPYPE_EXTRAS="doc,tests,fmri,profiler" PIP_FLAGS="--pre" CI_SKIP_TEST=1
13+
global:
14+
- EXTRA_WHEELS="https://5cf40426d9f06eb7461d-6fe47d9331aba7cd62fc36c7196769e4.ssl.cf2.rackcdn.com"
15+
- PRE_WHEELS="https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com"
16+
- EXTRA_PIP_FLAGS="--find-links=$EXTRA_WHEELS"
17+
matrix:
18+
- INSTALL_DEB_DEPENDECIES=true
19+
NIPYPE_EXTRAS="doc,tests,fmri,profiler"
20+
CI_SKIP_TEST=1
21+
- INSTALL_DEB_DEPENDECIES=false
22+
NIPYPE_EXTRAS="doc,tests,fmri,profiler"
23+
CI_SKIP_TEST=1
24+
- INSTALL_DEB_DEPENDECIES=true
25+
NIPYPE_EXTRAS="doc,tests,fmri,profiler,duecredit,ssh"
26+
CI_SKIP_TEST=1
27+
- INSTALL_DEB_DEPENDECIES=true
28+
NIPYPE_EXTRAS="doc,tests,fmri,profiler"
29+
EXTRA_PIP_FLAGS="--pre $EXTRA_PIP_FLAGS --find-links $PRE_WHEELS"
30+
CI_SKIP_TEST=1
1731

1832
addons:
1933
apt:
@@ -39,23 +53,12 @@ before_install:
3953
export FSLOUTPUTTYPE=NIFTI_GZ;
4054
fi;
4155

42-
# handle python operations separately to reduce timeouts
43-
- wget https://repo.continuum.io/miniconda/Miniconda${TRAVIS_PYTHON_VERSION:0:1}-latest-Linux-x86_64.sh
44-
-O /home/travis/.cache/conda.sh
45-
- bash ${HOME}/.cache/conda.sh -b -p ${HOME}/conda
46-
- export PATH=${HOME}/conda/bin:$PATH
47-
- hash -r
48-
- conda config --set always_yes yes --set changeps1 no
49-
- travis_retry conda update -q conda
50-
- conda config --add channels conda-forge
51-
- travis_retry conda install -y python=${TRAVIS_PYTHON_VERSION} icu
5256
- travis_retry pip install -r requirements.txt
5357
- travis_retry git clone https://github.com/INCF/pybids.git ${HOME}/pybids &&
5458
pip install -e ${HOME}/pybids
55-
- travis_retry pip install codecov
5659

5760
install:
58-
- travis_retry pip install $PIP_FLAGS -e .[$NIPYPE_EXTRAS]
61+
- travis_retry pip install $EXTRA_PIP_FLAGS -e .[$NIPYPE_EXTRAS]
5962

6063
script:
6164
- py.test -v --cov nipype --cov-config .coveragerc --cov-report xml:cov.xml -c nipype/pytest.ini --doctest-modules nipype

0 commit comments

Comments
 (0)