From 2c16c1ae4ad9e08d026b31c92ab582360f221f9d Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Fri, 30 Apr 2021 17:14:39 -0400 Subject: [PATCH] CI: Drop Travis --- .travis.yml | 84 ----------------------------------------------------- 1 file changed, 84 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 40d5937c02..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,84 +0,0 @@ -os: linux -dist: bionic - -language: python -# our build matrix -python: -- 3.6 -- 3.7 -- 3.8 - -env: - global: - - EXTRA_WHEELS="https://5cf40426d9f06eb7461d-6fe47d9331aba7cd62fc36c7196769e4.ssl.cf2.rackcdn.com" - - PRE_WHEELS="https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com" - - EXTRA_PIP_FLAGS="--find-links=$EXTRA_WHEELS" - - CHECK_TYPE=test - jobs: - - INSTALL_DEB_DEPENDECIES=true - NIPYPE_EXTRAS="doc,tests,nipy,profiler" - CI_SKIP_TEST=1 - - INSTALL_DEB_DEPENDECIES=false - NIPYPE_EXTRAS="doc,tests,profiler" - CI_SKIP_TEST=1 - - INSTALL_DEB_DEPENDECIES=true - NIPYPE_EXTRAS="doc,tests,nipy,profiler,duecredit,ssh" - CI_SKIP_TEST=1 - - INSTALL_DEB_DEPENDECIES=true - NIPYPE_EXTRAS="doc,tests,nipy,profiler" - EXTRA_PIP_FLAGS="--pre $EXTRA_PIP_FLAGS --find-links $PRE_WHEELS --upgrade" - CI_SKIP_TEST=1 - -jobs: - include: - - python: 3.7 - env: - - NIPYPE_EXTRAS=dev - CHECK_TYPE=specs - -addons: - apt: - packages: - - xvfb - - fusefat - - graphviz - -cache: - directories: - - ${HOME}/.cache - -before_install: -- if $INSTALL_DEB_DEPENDECIES; then sudo rm -rf /dev/shm; sudo ln -s /run/shm /dev/shm; fi -- travis_retry bash <(wget -q -O- http://neuro.debian.net/_files/neurodebian-travis.sh); -- if $INSTALL_DEB_DEPENDECIES; then - travis_retry sudo apt-get -y update && - travis_retry sudo apt-get install -y -qq fsl afni elastix fsl-atlases; - fi; -- if $INSTALL_DEB_DEPENDECIES; then - source /etc/fsl/fsl.sh; - source /etc/afni/afni.sh; - export FSLOUTPUTTYPE=NIFTI_GZ; - fi; - -- travis_retry pip install $EXTRA_PIP_FLAGS -r requirements.txt -- travis_retry pip install grabbit==0.2.6 -- travis_retry pip install -e git+https://github.com/bids-standard/pybids.git@0.7.0#egg=pybids - -install: -- travis_retry pip install $EXTRA_PIP_FLAGS -e .[$NIPYPE_EXTRAS] -- travis_retry pip install pytest-xdist - -script: -- | - if [ "$CHECK_TYPE" = "test" ]; then - py.test -sv --cov nipype --cov-config .coveragerc --cov-report xml:cov.xml -c nipype/pytest.ini --doctest-modules nipype -n 2 - fi -- | - if [ "$CHECK_TYPE" = "specs" ]; then - make specs - git add nipype - test "$( git diff --cached | wc -l )" -eq 0 || ( git diff --cached && false ) - fi - -after_script: -- codecov --file cov.xml --flags unittests -e TRAVIS_JOB_NUMBER