From a29d508f85f6bdb1426f1ce8033c93d97fbbad78 Mon Sep 17 00:00:00 2001 From: paugier Date: Tue, 23 Jan 2024 10:52:08 +0100 Subject: [PATCH] Remove old files --- .appveyor.yml | 72 --------------------------------- .travis.yml | 110 -------------------------------------------------- tox.ini | 51 ----------------------- 3 files changed, 233 deletions(-) delete mode 100644 .appveyor.yml delete mode 100644 .travis.yml delete mode 100644 tox.ini diff --git a/.appveyor.yml b/.appveyor.yml deleted file mode 100644 index c54eceb..0000000 --- a/.appveyor.yml +++ /dev/null @@ -1,72 +0,0 @@ -# Reference: https://www.appveyor.com/docs/appveyor-yml/ -image: - - Visual Studio 2017 - -platform: - - x64 - -# branches to build -branches: - # whitelist - only: - - default - -# Reference: https://packaging.python.org/guides/supporting-windows-using-appveyor/ -environment: - - matrix: - - # For Python versions available on Appveyor, see - # http://www.appveyor.com/docs/installed-software#python - - - PYTHON: C:\Miniconda36-x64 - - PYTHON: C:\Miniconda37-x64 - -install: - # Reference: https://github.com/conda-forge/staged-recipes/blob/master/.appveyor.yml - - "set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" - - call activate.bat - - conda config --add channels conda-forge - - conda config --set show_channel_urls true - - conda install -q -y clangdev fftw fluiddyn cython pyfftw colorlog pytest - # transonic pythran - -build_script: - - cp site.cfg.files\site.cfg.appveyor_win ~user\.fluidfft-site.cfg - - python -m pip install -e . # [test] - -test_script: - # Put your test command here. - # If you don't need to build C extensions on 64-bit Python 3.3 or 3.4, - # you can remove "build.cmd" from the front of the command, as it's - # only needed to support those cases. - # Note that you must use the environment variable %PYTHON% to refer to - # the interpreter you're using - Appveyor does not do anything special - # to put the Python version you want to use on PATH. - # - "build.cmd %PYTHON%\\python.exe setup.py test" - # - # For now, don't test - # Reference: https://packaging.python.org/guides/supporting-windows-using-appveyor#testing-with-tox - # echo "TODO: tox tests can be tricky in Windows" - # - set PYTHONPATH=. - # - tox - - python -m pytest -s - -# to disable automatic tests -# test: off - -# after_test: - # This step builds your wheels. - # Again, you only need build.cmd if you're building C extensions for - # 64-bit Python 3.3/3.4. And you need to use %PYTHON% to get the correct - # interpreter - # - "build.cmd %PYTHON%\\python.exe setup.py bdist_wheel" - -# artifacts: - # Any remenants after build / test - # - path: build\* - -# on_success: -# You can use this step to upload your artifacts to a public website. -# See Appveyor's documentation for more details. Or you can simply -# access your wheels from the Appveyor "artifacts" tab for your build. diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 575503e..0000000 --- a/.travis.yml +++ /dev/null @@ -1,110 +0,0 @@ -os: linux -language: python - -python: - - 3.7 - -env: - - TOXENV=py-mpi,codecov-travis OMPI_CC=/usr/bin/gcc-6 OMPI_CXX=/usr/bin/g++-6 SITE_CFG=linux - -matrix: - fast_finish: true - include: - - python: 3.7 - env: - - OMPI_CC=/usr/bin/gcc-6 - - OMPI_CXX=/usr/bin/g++-6 - - TOXENV=py-pythran-mpi,codecov-travis - - SITE_CFG=linux - dist: xenial # required for Python 3.7 (travis-ci/travis-ci#9069) - sudo: required # required for Python 3.7 (travis-ci/travis-ci#9069) - - python: 3.8 - env: - - OMPI_CC=/usr/bin/gcc-6 - - OMPI_CXX=/usr/bin/g++-6 - - TOXENV=py-pythran-mpi,codecov-travis - - SITE_CFG=linux - dist: xenial # required for Python 3.7 (travis-ci/travis-ci#9069) - sudo: required # required for Python 3.7 (travis-ci/travis-ci#9069) - - python: pypy3 - env: - - OMPI_CC=/usr/bin/gcc-6 - - OMPI_CXX=/usr/bin/g++-6 - - TOXENV=pypy3 - - SITE_CFG=linux_pypy3 - sudo: required - - os: osx - osx_image: xcode8.3 - env: TOXENV=py PY=3 SITE_CFG=osx - python: 3 - language: cpp - compiler: clang - cache: false - allow_failures: - - python: pypy3 - - os: osx - -before_cache: - - | - coverage erase - rm -f $HOME/.cache/pip/log/debug.log - -cache: - directories: - - $HOME/.cache/pip - # - $TRAVIS_BUILD_DIR/.tox - -addons: - apt: - update: true - sources: - - ubuntu-toolchain-r-test - packages: - - gcc-6 - - g++-6 - - libfftw3-dev - - libfftw3-mpi-dev - - libopenmpi-dev - - openmpi-bin - - libopenblas-dev - -before_install: - - | - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then - # Install Miniconda - curl -s -o miniconda.sh https://repo.continuum.io/miniconda/Miniconda$PY-latest-MacOSX-x86_64.sh; - export MINICONDA_PREFIX=$HOME/miniconda - bash miniconda.sh -b -p $MINICONDA_PREFIX && rm miniconda.sh; - echo ". $MINICONDA_PREFIX/etc/profile.d/conda.sh" >> ~/.bashrc; - echo "conda activate" >> ~/.bashrc; - source ~/.bashrc - conda config --add channels conda-forge; - fi - -# Hotfix to make bootstrapping setup_requires work until PEP 518 is implemented -# with the release of pip==10.0.0 -install: - - | - pip install -U pip tox fluiddevops - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then - # All dependencies inside tox.ini - since tox does not officially - # allow conda install - conda install -q -y virtualenv cython mako mpi4py pyfftw pandas fftw openmpi fluiddyn - fi - -before_script: - - | - mkdir -p $HOME/.config/matplotlib - echo 'backend : agg' > $HOME/.config/matplotlib/matplotlibrc - cp $TRAVIS_BUILD_DIR/site.cfg.files/site.cfg.travis_$SITE_CFG $HOME/.fluidfft-site.cfg - -script: - - set -o pipefail - - tox -vv | fluidicat --every 1 --wait 300 - -after_failure: - - cat $TRAVIS_BUILD_DIR/.tox/log/*.log - -notifications: - email: false - irc: "chat.freenode.net#fluiddyn-tasks" diff --git a/tox.ini b/tox.ini deleted file mode 100644 index e47dd5f..0000000 --- a/tox.ini +++ /dev/null @@ -1,51 +0,0 @@ -# Tox (http://tox.testrun.org/) is a tool for running tests in -# multiple virtualenvs. This configuration file will run the test -# suite on all supported python versions. To use it, "pip install tox" -# and then run "tox" from this directory. -# http://tox.readthedocs.io/en/latest/config.html -# -# To run tox faster, check out Detox -# (https://pypi.python.org/pypi/detox), which runs your tox runs in -# parallel. To use it, "pip install detox" and then run "detox" from -# this directory. -[tox] -envlist = - py{38,39,310}-{pythran}-{mpi}, pypy3-mpi - codecov -isolated_build = True - -[gh-actions] -python = - 3.8: py38-pythran-mpi - 3.9: py39-pythran-mpi - 3.10: py310-pythran-mpi - -[testenv] -setenv = - pythran: FLUIDSIM_TRANSONIC_BACKEND = pythran - !pythran: PYTHRAN = 0 - !mpi: FLUIDFFT_DISABLE_MPI = 1 -allowlist_externals = make -usedevelop = True -deps = - coverage - cython # needed at runtime for coverage - pytest - pyfftw - py: pandas -commands = - make _tests_coverage - -[testenv:codecov] -passenv = CODECOV_TOKEN -setenv = - CI_COMMIT_BRANCH = {env:CI_COMMIT_BRANCH:env:CI_COMMIT_HG_BRANCH} -deps = - codecov - cython -allowlist_externals = make -skip_install = true -commands = - make _report_coverage - codecov --file .coverage/coverage.xml --commit {env:CI_COMMIT_SHA} \ - --branch {env:CI_COMMIT_BRANCH} --name Heptapod{env:CI_JOB_ID}